You can read Environment Variables in KiX the same way as Macros and KiX Variables:

Environment Variables:
To read: %variablename%
example: "Hello %username%" ?

To write: Set, SetL, SetM
example: SET "myvar = 'Hello there!'"


KiX Macros
To read: @macroname
example: "Hello @userid" ?

To write: NO - read only


KiX Variables:
To read: $variablename
example: "Hello $yourname" ?

To write: $variablename=value
example: $yourname="Sandrine"

more info: you can also use Get and GetS
example: "Enter your name: " GETS $yourname


hope this helps,

cj

------------------
For more scripts goto my website and click the hammer and spanner icon.

chrismat@ozemail.com.au