Ok, I've been writing this stuff for over a year and just bumped into this... I'm pretty sure it's something I'm doing wrong but I don't get it.. Someone please clue me in...
Here is the sample code that is cause me trouble.
When compiled, I get a "Syntax error (missing parameter)." on the If statement. "Word: true"...
Let me know where I'm wrong!
Thanks,
Gary M
Here is the sample code that is cause me trouble.
B4X:
'Activity module
Sub Process_Globals
End Sub
Sub Globals
Dim f As Boolean
End Sub
Sub Activity_Create(FirstTime As Boolean)
f = True
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Sub btnSettings
If f = True
End Sub
When compiled, I get a "Syntax error (missing parameter)." on the If statement. "Word: true"...
Let me know where I'm wrong!
Thanks,
Gary M