Sat, 11 Dec 1999 22:28:28 EST
Tucker Taft oAda person quoted and then wrote:
>From: [log in to unmask] (Tucker Taft)
>Sender: [log in to unmask] (Team Ada: Ada Advocacy Issues (83 & 95))
>Reply-to: [log in to unmask] (Tucker Taft)
>To: [log in to unmask]
>"Robert C. Leif, Ph.D." wrote:
>> To: Robert I. Eachus et al.
>> From: Bob Leif
>> I previously looked at uncgi. However, I did not wish to get a C compiler
>> nor learn C. My suspicion is that the C code in uncgi permits reading the
>> command line with the *.exe? part of the string.
>As explained in other notes, the information after the "?" an a URL
>GET is squirelled away in the QUERY_STRING environment variable.
>This is true no matter what language the CGI program is written in.
>> ...That is why I started this
>> thread. Is there an Ada compiler for Windows 98, Windows CE, or any other
>> reasonable INTEL based PC which can read the output of a HTML.Form.Get?
>All you need is to read the QUERY_STRING environment variable. I presume you
>could easily write your own "pragma Import" to call the Win32 function
>that gets environment variables, if your favorite Ada compiler doesn't
>already provide an interface to it.
Am I wrong to be disappointed that such a defacto standard would be based
a C-ism (or Unix-ism) as the "environment variable" ?