[lazarus] OT: CGI for apache with free pascal

Michael A. Hess mhess at miraclec.com
Tue May 25 21:38:51 EDT 1999


Nicolas Aragon wrote:
> 
> Now I remember that constructor read also all known variables. Why?
> BTW.

By loading them in right at the beginning and storing them as Pascal
strings it is easier for any of the developers code to deal with them.
It also means that they can be accessed again and again without the need
to actually access the environment variable. Is this really a big deal?
Well no. But it also makes it convient to access any and all valid
environment variables via a simple while loop as my little example
showed.

-- 
==== Programming my first best destiny! ====

Michael A. Hess      Miracle Concepts, Inc.
mhess at miraclec.com   http://www.miraclec.com






More information about the Lazarus mailing list