Re: How to get value of environment variable?

Scott Raney ((no email))
Tue, 27 Sep 94 14:40:48 MDT

>
> >From inside metacard what is the simplest way to get the value
> of an environment variable? Opening a shell, echoing the value and reading
> seems pretty hokey so I'm hoping for a simple function that does this.
>
> any suggestions?

Just put a $ in front of the variable name:
put $HOME

You can create environment variables (for passing paramters to
subprocesses, for example) put putting something into a variable name
that starts with a $.
Scott

> thanks
>
> Stan Bischof
> stanb@sr.hp.com
>

-- 
***********************************************************************
* Scott Raney  303-447-3936            Remember: the better you look, *
* raney@metacard.com                   the more you'll see -- Lidia   *
***********************************************************************