User talk:Robert.patton54

From Free Pascal wiki
Jump to navigationJump to search

I am a new user for Free Pascal. I am converting an old IBM UNIX Pascal program. The program code for unix include stmt is as follows: %include ./pgm.h What is the corresponding stmt for FPS? Thanks in advance



@Robert: I don't think many people will see your post here... The forum might be a better place to ask your question: [1] ...you could post in the General section as it seems to be a fairly general question. .. or perhaps better the FPC mailing list!

Don't know anything about IBM Pascal; I suppose the FPC equivalent would be something like: {$Include pgm.pas} where pgm.pas is the file you want to include. It can't include C language .h files directly (if that is what the above does); you could convert it with e.g. a tool like h2pas (some manual tweaking may be necessary).

BTW, support for AIX is being implemented as we speak, so perhaps that could help you as well?

--BigChimp 06:43, 1 May 2012 (UTC)