Chris,
can you post code which makes this error appear?
Can't see a list of error messages in the offline help. The current error is baffling: Error Code 22 Atom:Command error. Not an obvious one, nor can I see a reference to "Atom".
Chris,
can you post code which makes this error appear?
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
You are right, that error is quite cryptic. I will improve in next version.
I've check in which situations that error occurs. Here an example:
in a numeric expression is present an atomic token does not returns anything like, for example, a keyword that is not a FUCNTION
So something like:
[code=thinbasic]dim L as long
L = 1 + RANDOMIZE[/code]
will produce the mentioned error because INCR is not a FUNCTION but a SUB
I'm right now improving that error code meaning.
Ciao
Eros
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
Eros, Petr,
I have worked out what the error referred to - I was looking at this line:
[code=thinbasic]PSQLV_EditRule (hQLV1, "Date_Joined", %EDIT_DATEPICKER,%EDIT_DEFAULTVALUE,"")
[/code]
I should have been looking at this line:
[code=thinbasic]PSQLV_RClickFun (hQLV1, "Mship_Type", "View Membership Types", byval codeptr(MembtypeFun1))
[/code]
Call it guesswork but I suspect that the codeptr is somehow implicated! Maybe you could have an error message like "Error 1234: you are no longer using PowerBasic!"
Originally Posted by Chris Holbrook
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
Bookmarks