AnsweredAssumed Answered

Global Variables

Question asked by DrDave on Dec 7, 2008
Latest reply on Dec 7, 2008 by DrDave


Global Variables


I created a script called zStartUpScript and put the following code in it.

If [ $$TheOS = 1 ] 

Set Variable [ $$FolderPath; Value:"/Drive-1/Users/MyName/MyData/DataOut" ] 

Else If [ $$TheOS = -2 ] 

Set Variable [ $$FolderPath; Value:"filewin:/c:/DataOut" ] 

End If 

Under File-Options, I then specified this script as the start-up script.
I expected $$FolderPath to be available when I run all my other scripts, but they are not. Is my expectation incorrect?