Odd Spin Error
Phil Pilgrim (PhiPi)
Posts: 23,514
'Ran into this today, with a variable named "dev":
Apparently DEV has been reserved as a block heading (like CON, DAT, etc.). So I changed the variable name to something else and typed "DEV" into my program as if it were a block heading. It wasn't highlighted in the editor, but the program compiled! There's nothing in the manual about DEV blocks or "DEV" being a reserved word, so I wonder what was planned for it that hasn't (yet) materialized.
-Phil
_
Apparently DEV has been reserved as a block heading (like CON, DAT, etc.). So I changed the variable name to something else and typed "DEV" into my program as if it were a block heading. It wasn't highlighted in the editor, but the program compiled! There's nothing in the manual about DEV blocks or "DEV" being a reserved word, so I wonder what was planned for it that hasn't (yet) materialized.
-Phil
_
Comments
I was thinking more like a Bill Gates maneuver, Always leave your self a little something on the back side that no one knows about.
'
I have run across code written by Parallax staff for the BS2xx that can't be found in any publication any where. I think this is job security.
'
Did you run any memory maps, Pre and post?
'
You didn't post the full codes, So I couldn't run any test.
The first parameter is either "PRECOMPILE" or "ARCHIVE"
The second parameter is a filename.
Wonder what it does... I typed in a filename, but it doesn't appear to do anything.
Bill
-Phil
dev
'PRECOMPILE "testing"
ARCHIVE "testing"
Compile Error: Block Designator Must Be In The First Column
Module: WinBond Driver
Routine: PRI sendRecv(dev, sD, rCt, rA) | i, m ' Send and possibly receive
..................................^^^ Error cursor at dev
...
"Dev is a reserved word (a block) in the Parallax compiler."
Above from...
http://forums.parallax.com/archive/index.php/t-112670.html