hal9k
Junior Member
Posts: 87
|
Post by hal9k on Jul 20, 2023 20:16:36 GMT -5
This is probably a senior moment, but I'm getting a syntax error on this statement:
PRINT #Main.TB_Name, temp$
The only thing I can think of is that this is the first reference to this window.
Can anybody see my error?
As always thanks!!!
|
|
|
Post by xxgeek on Jul 20, 2023 21:34:46 GMT -5
It's the underscore _ Remove it, then you get the expected runtime error.
The underscore is used in LB to extend a line, so it can't be used in control names.
|
|
|
Post by Walt Decker on Jul 21, 2023 8:24:05 GMT -5
Also with control names LB allows only one period, e.g. BUTTON #1.BTN.1 is a no no.
|
|
hal9k
Junior Member
Posts: 87
|
Post by hal9k on Jul 21, 2023 9:07:10 GMT -5
Thanks. It's always a good day when I learn something. Now, if I can just remember it...
|
|