First, in your main package, in the additionnal variables header of StartScen property box, you must select a project, a variable and set the value of the variable starting with # and keep the variable's name :
Second, in your package called by main package, you have to put your variable and choose type "Declare Variable" :