Hi and welcome to the board.

Looks like this is by design. Global variables are available in the master script and all sub scripts in the same kix session but not in a second kix session. You need to Dim the variables again.

 Quote:

GLOBAL

Action
Declare one or more global variables.

Syntax
GLOBAL "variable1" [<,>"variablex"]

Remarks
Global variables are visible everywhere in every script during the current KiXtart session.

Examples
GLOBAL $X
GLOBAL $X, $Y, $Z


Edited by Mart (2007-04-05 08:59 PM)
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.