StartActivity Issue

cnicolapc

Active Member
Licensed User
Longtime User
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
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
Cookies are required to use this site. You must accept them to continue using the site. Learn more…