Hello,
I'm a novice in gpc and I hav a lot of problems. Here comes the first one:
unit unit1; { reine testunit fuer gpc } Interface Procedure ClrScr;
Implementation
Procedure ClrScr; Var i : Real; Begin For i := 0 to 25 Do WriteLn; End;
Begin End.
I run gpc under Linux 2.0.30 and had the following output:
voss@crazy_horse:/home/voss/pascal > gpc unit1.pas /usr/lib/crt1.o: In function start': /usr/lib/crt1.o(.text+0x5a): undefined reference to main'
Another problem comes, when I choosed the Type Byte for the variable i.
Herbert