code modules: Error description: Sub is not a valid identifier.

cengolo

Member
Licensed User
Longtime User
Hi everybody,
I am sure I am missing something, so please help me.
Whenever I load an example from forum, which contains a code module, when I start compile, debugger stops and gives the error:

Compiling code. Error
Error parsing program.
Error description: Sub is not a valid identifier.

In the first line of the code module. Even though everything seems fine, I cannot run the examples. Please enlighten me.

Best

cenk
 
We'll need to see the offending bit of code to see what the problem is..

i.e.

Code: Copy
Sub Process_Globals
   'a note
   Dim Stuff As SQL
   Dim v_display_notifications As Boolean
End Sub

I'm guessing that you have a Sub, but no name after it... but am guessing, in the dark atm..
 
Code: Copy
Sub Process_Globals
End Sub

That of course is Android code. It would be good to know whether the original question is also about Android code (since this is the Basic4PPC forum - Android Development Forum - Basic4android > Basic4ppc > Questions & Help Needed).

Mike.
 
Back
Top