C cnicolapc Active Member Licensed User Longtime User Mar 2, 2011 #1 Hi, I have two activities "Main" and "Second", that I manage with startActivity. I have the value of certain variables in the Main that I would use in seconds. How do I do? Through a sub that I have to call them callsub2? Can I have some practical use? Thanks Nicola
Hi, I have two activities "Main" and "Second", that I manage with startActivity. I have the value of certain variables in the Main that I would use in seconds. How do I do? Through a sub that I have to call them callsub2? Can I have some practical use? Thanks Nicola
D Deleted member 103 Guest Mar 2, 2011 #2 Ciao Nicola, gaurda questo esempio. look at this example. Activity-Main : PHP: Sub Process_Globals 'These global variables will be declared once when the application starts. 'These variables can be accessed from all modules. Dim globalVariable as int End Sub from Activity-Second: PHP: Sub Activity_Create(FirstTime As Boolean) dim test as int test=Main.globalVariable End Sub Ciao, Filippo Upvote 0
Ciao Nicola, gaurda questo esempio. look at this example. Activity-Main : PHP: Sub Process_Globals 'These global variables will be declared once when the application starts. 'These variables can be accessed from all modules. Dim globalVariable as int End Sub from Activity-Second: PHP: Sub Activity_Create(FirstTime As Boolean) dim test as int test=Main.globalVariable End Sub Ciao, Filippo
C cnicolapc Active Member Licensed User Longtime User Mar 2, 2011 #3 Grazie mille Filippo, Molto gentile. Ciao Nicola Upvote 0