is there a way to set environment variables from Rev?
andre at andregarzia.com
Sun Jan 27 14:05:10 EST 2008
you're my hero!!! :-D
On 1/24/08, J. Landman Gay <jacque at hyperactivesw.com> wrote:
> Andre Garzia wrote:
> > Aloha Folks,
> > we know that if we use the $ keyword we can query environment
> > variables but how do we set them?
> > I want to set $QUERY_STRING for using it in RevHTTP, this would enable
> > me to run other application cgis from it, such as python and the like.
> > Also, can I change the contents of STDIN?
> I don't know about STDIN but this is from Mark Waddingham a couple of
> years ago, maybe it will help:
> > You can both read and write to shell variables in Revolution. So the
> > following:
> > put foo into $FOO
> > put shell("echo $FOO")
> > Results in what you would expect in the message-box :o)
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://www.andregarzia.com All We Do Is Code.
More information about the use-livecode