Environment variables

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Environment variables

Stephen-71
As a workaround to the socket server I've working on, I could set up a
CGI script and pass it some parameters. To do this would require access
from GST to the environment variable QUERY_STRING.

What is the best way of accessing environment variables from GST please?

Thanks
Stephen






_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Environment variables

Paolo Bonzini-2
Stephen wrote:
> As a workaround to the socket server I've working on, I could set up a
> CGI script and pass it some parameters. To do this would require access
> from GST to the environment variable QUERY_STRING.
>
> What is the best way of accessing environment variables from GST please?

Smalltalk getenv: 'foo'

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk