Okay, I've got a CGI app written. There are subtlies that are different than Borland 5 & 6 that I'm used to, but nonetheless it's done. I can't compile because I don't have the data-type correct for setenv() and getenv(). What exactly is __cstring__ in pascal terms? Is it a pointer to a string type, actual string, etc...help!
BTW, I forget and leave one end out during a case statement, and you get errors on just about everything in the file, including errors telling you that the ; at the end of a function blah(data):blahtype is not needed...just FYI.
====================================================================== Jim Roland, running the most stable operating system in the world: OS/2 v4.0--I TALK to my OS, and IT LISTENS, does yours? ----------------------------------- Running Internet Servers on OS/2 & Linux (a free & stable Unix OS) ----------------------------------- Get free PGP software today to keep your files & messages private! Don't let ANYONE deprive you of your right to privacy!! ======================================================================
According to Jim Roland:
Okay, I've got a CGI app written. There are subtlies that are different than Borland 5 & 6 that I'm used to, but nonetheless it's done. I can't compile because I don't have the data-type correct for setenv() and getenv(). What exactly is __cstring__ in pascal terms? Is it a pointer to a string type, actual string, etc...help!
It's a pointer to an array of chars.
With any GPC that is more recent than gpc-2.0, you can also write `CString' instead of `__CString__', and its support is much more stable in GPC.
BTW, I forget and leave one end out during a case statement, and you get errors on just about everything in the file, including errors telling you that the ; at the end of a function blah(data):blahtype is not needed...just FYI.
I think there is not much we can do against that: A missing `end' destroys the structure of a Pascal program almost completely.
Peter -- Peter Gerwinski, Essen, Germany, free physicist and programmer Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - 1 Oct 1997 PGP key fingerprint: AC 6C 94 45 BE 28 A4 96 0E CC E9 12 47 25 82 75 Fight the SPAM! - http://maps.vix.com/