The preferred alternative would be to use the RFgen.bas (Globals.bas in 3.x) VBA module. Variables declared as 'Global' or 'Public' will be global in your RFgen application.
For backwards compatibility the legacy gVariant(n) array can be used to create global variables, where n = 0 to 49. Variable references are shared between all defined VBA events, starting at the time a user logs in, until the user logs out. |