home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Resource Library: Graphics
/
graphics-16000.iso
/
msdos
/
animutil
/
fastgfx
/
fg303e
/
expas.arj
/
FGDOC
/
EXAMPLES
/
PASCAL
/
03-05.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1993-09-30
|
580b
|
37 lines
program main;
uses fgmain, fgmisc;
var
lines : integer;
old_lines : integer;
old_mode : integer;
begin
old_lines := fg_getlines;
old_mode := fg_getmode;
fg_setmode(3);
fg_cursor(0);
fg_setcolor(15);
fg_text('first line',10);
fg_waitkey;
if (fg_testmode(16,0) = 1) then
begin
fg_setlines(43);
fg_cursor(0);
fg_waitkey;
end;
if (fg_testmode(17,0) = 1) then
begin
fg_setlines(50);
fg_cursor(0);
fg_waitkey;
end;
fg_setmode(old_mode);
fg_setlines(old_lines);
fg_reset;
end.