View Full Version : Error messages
Chris Holbrook
12-01-2009, 19:46
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".
Petr Schreiber
12-01-2009, 20:09
Chris,
can you post code which makes this error appear?
ErosOlmi
12-01-2009, 22:25
:(
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:
dim L as long
L = 1 + RANDOMIZE
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
Chris Holbrook
12-01-2009, 23:01
Eros, Petr,
I have worked out what the error referred to - I was looking at this line:
PSQLV_EditRule (hQLV1, "Date_Joined", %EDIT_DATEPICKER,%EDIT_DEFAULTVALUE,"")
I should have been looking at this line:
PSQLV_RClickFun (hQLV1, "Mship_Type", "View Membership Types", byval codeptr(MembtypeFun1))
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!"
ErosOlmi
12-01-2009, 23:06
Maybe you could have an error message like "Error 1234: you are no longer using PowerBasic!"
:lol: