6 Dec
2003
6 Dec
'03
4:49 p.m.
Thanks for the help in installing GPC for my new CYGWIN configuration. It seems to work now. I want to transfer several pascal programs from a Sun machine (Solaris 7, compiled with Sun Pascal), to GPC. Could anybody help me e.g. by showing the code to catch some of my cygwin (bash) environment-variables: e.g. 'PWD', 'HOME', 'TERM', ... How do I ask a 'system call' to be executed from within a GPC program? E.g. assume I want to make a 'ls' of some directory, and to see if there is a file called 'testfile'. Thanks for your help. Paul