Hello,
I'm trying to play with the HelloWorld example and I need to share a variable from all module.
I wrote this
(in Main)
Sub Process_Globals
Public StartBus As Int = 0
End Sub
(in HelloWorld)
Sub btnCalc_Click (Params As Map)
StartBus = 1
End Sub
In the module HelloWorld I want to set StartBus = 1 to start a proces tha is running in Main (timer)
The problem is in the HelloWorld module the variable StartBus seem undeclared and setting it to 1 dont let start other process.
Any suggestion pls.?
Thanks
I'm trying to play with the HelloWorld example and I need to share a variable from all module.
I wrote this
(in Main)
Sub Process_Globals
Public StartBus As Int = 0
End Sub
(in HelloWorld)
Sub btnCalc_Click (Params As Map)
StartBus = 1
End Sub
In the module HelloWorld I want to set StartBus = 1 to start a proces tha is running in Main (timer)
The problem is in the HelloWorld module the variable StartBus seem undeclared and setting it to 1 dont let start other process.
Any suggestion pls.?
Thanks