Global Mapper v26.0

Variable's lifetime

Hello, I need in advice how to preserve a value of variable set in the first script, so it could be used by the next script, runned after some interactions, made by user. (something like a "public" or "global"  var declare).
The variable value is a path and folder name, set by user in the course of the first script's execution by PROMPT=DIR parameter of DEFINE_VAR command. The user don't need to select a folder twice.