On Sun, Jul 30, 2006 at 07:55:33PM +0200, Bastiaan Veelo wrote:
Emil Jerabek wrote:
If all you need is to pass argc and argv to the library, there are
predefined variables CParamCount and CParameters (of type integer and PCString, respectively, which matches C int and **char).
Emil Jerabek
Yes it is! But I get undeclared identifier errors when using these. Do I need to pull some switches for it to work?
Ah, sorry. I shouldn't have said it is predefined, it is in the gpc unit. So "import gpc;" will do the trick.
Emil