|
|
#1 |
|
Junior Member
Join Date: Feb 2012
Posts: 16
|
howto define variable in .onInit and use it in pages
is there a way to define a variable in .onInit and then use it in all pages?
i am trying to do this because i need to change the pages dynamically with this parameter... i already tried !define variable... it works but the problem is that you can't change this value at runtime...or at least i haven't found a way to do so thx for your help EDIT: Ok i am stupid, you have to declare the variables before the pages *facepalm* |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Nov 2005
Posts: 115
|
Use 'Var' to make a variable. Use /GLOBAL (ex 'Var /GLOBAL MyVar') if used in a section or function.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|