Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
Dim A As String
Dim S As String
End Sub
Sub Initialize(Act As String, Subname As String)
A = Act
S = Subname
End Sub
Sub CallMeBack(p1 As String, p2 As String)
CallSub3(A, S, p1, p2)
End Sub
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
Dim A As Object
Dim S As String
End Sub
Sub Initialize(Target As Object, Subname As String)
A = Act
S = Subname
End Sub
Sub CallMeBack(p1 As String, p2 As String)
CallSub3(A, S, p1, p2)
End Sub
Dim c As Class1
c.Initialize(Me, "SomeSub")
If KeyCode = KeyCodes.KEYCODE_BACK AND sm.isVisible = False Then
If Msgbox2("Exit Program?", "EXIT", "Yes", "", "No", Null) =DialogResponse.POSITIVE Then
Activity.Finish
Main.ExitProg = True
Dim ExitProg As Boolean : ExitProg = False
Sub Activity_Resume
If ExitProg = True Then
ExitApplication
End If
End Sub
Parsing code. 0.02
Compiling code. Error
Error compiling program.
Error description: Cannot access excluded module: main
Occurred on line: 73
Main.ExitProg = True
Word: main
Main.ExitProg = True