[fpc-pascal] ISO Standard Pascal I/O

Jonas Maebe jonas.maebe at elis.ugent.be
Fri May 28 19:48:38 CEST 2010


On 28 May 2010, at 19:27, Roger Bailey wrote:

> OK, I give up. How do you handle standard input and output files in FPC? When I write something like:
> 
> 	nextcharacter := input^
> 
> I get "error: 1: Illegal qualifier". Does FPC not support this standard Pascal feature?

No, it does not. FPC mainly supports Borland-style Pascal dialects, and they are not ISO Standard/Extended Pascal compliant. If you want to write ISO Pascal programs, GPC (http://www.gnu-pascal.de/gpc/h-index.html) is probably better suited to your needs.


Jonas

PS: please use a descriptive mail subject in the future.


More information about the fpc-pascal mailing list