Including output of environment variable in command line?

Charles Crawford CCrawford at ACB.org
Thu Sep 20 14:38:24 EDT 2001


I don't know what language you are using.  Usually there is an 
initialization of the variable such as store "home" to mydir
and then you would use mydir as the variable to capture the input of the 
user and if the default of home, the program would search for he associated 
object of home when executing the operation at run time.  I only really 
know Clipper but it would look like this:

Store "home" to mydir
accept "  Where do you want to go? " to mydir
goto mydir


         Of course I have no idea of the context in which your are programming.

-- Charlie Crawford.
At 02:18 PM 9/20/01 +00-02, you wrote:
>Hello list, I used to know how to do this but can't think of it at the 
>moment.  How does one go about including the output of an environment 
>variable in a command line?  I thought it was something like the following 
>command line example.
>  'program --directory $HOME$/test' where $HOME$ is the variable I want to 
> insert.  When I try this the program complains it can not find the directory.
>
>Any help on this would be appreciated.
>
>Doug
>
>
>_______________________________________________
>Speakup mailing list
>Speakup at braille.uwo.ca
>http://speech.braille.uwo.ca/mailman/listinfo/speakup






More information about the Speakup mailing list