How do I get a global variable in a UserMain function?
Function AskFolder: String;
Begin
defaultDirectory := GetGlobalVar( ‘defaultDirectory’, “”);
Result := SelectDirectory(“Choose a folder”, defaultDirectory);
End;
Did not work. Also tried exo_getglobalvariable. I’m probably missing something simple.