|
PBASIC language syntax
Does anyone know of an online or downloadable complete PBASIC syntax description? I know there is a help file that comes with editor from Parallax, but it leaves a bit to the imagination. For one thing,it doesn't give a complete list of operators.
I'd like the "definitive reference" for the version of the language that the 2.5 system from Parallax processes, but the specific question for anybody who can answer:
can I express this in one line:
if (bytevarX = 254) then
bitvarY = 1
else
bitvarY = 0
end
In some languages I could do this by
bitvarY = (bytevarX = 254)
but not this one.
Yeah, I know, end is supposed to be endif. Just a little bit of old pl/i syntax leaking out my fingers....
Thanks
Last edited by Brandon Martus : 04-04-2003 at 08:13.
|