TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Forum View

Use Proportional Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Sat, 11 Dec 1999 22:28:28 EST
Content-Type:
text/plain
Parts/Attachments:
text/plain (34 lines)
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
on
a C-ism (or Unix-ism) as the "environment variable" ?

Larry Kilgallen

ATOM RSS1 RSS2