dos_compilers/Borland Turbo Pascal v5/CIRCULAR.PAS
2024-07-02 06:16:37 -07:00

24 lines
694 B
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ Copyright (c) 1985, 88 by Borland International, Inc. }
program Circular;
{ Simple program that demonstrates newly-permitted circular
unit references via a USES clause in the implementation
section.
Note that it is NOT possible for the two units to
"USE" each other in their interface sections. It is possible
for AA's interface to use BB, and BB's implementation to use
AA, but this is tricky and depends on compilation order. We
won't document or recommend it.
}
uses
Crt, Display, Error;
begin
ClrScr;
WriteXY(1, 1, 'Upper left');
WriteXY(100, 100, 'Off the screen');
WriteXY(81 - Length('Back to reality'), 15, 'Back to reality');
end.