>reported from a user
const NEG1=-1
ERROR 3: Expected End Of Line, found -1
Yes the compiler needs to handle this, and will soon (leaving for vacation this weekend)
Work around for now
const NEG1 = &HFFFFFFFF
or
#define NEG1 -1 ' I use #defines myself for these types of things, const chews up symbol table space
Negative constant error
Re: Negative constant error
The compiler is a recursive decent type, which means we have to think about all the possibilities during parsing. We had not thought of the negative type
CONST name = -number
That is fixed now, runs all our compiler tests, but won't get into the official release until I get back
compiler updates moved to this thread
http://www.coridiumcorp.com/forum/viewt ... ?f=9&t=158
CONST name = -number
That is fixed now, runs all our compiler tests, but won't get into the official release until I get back
compiler updates moved to this thread
http://www.coridiumcorp.com/forum/viewt ... ?f=9&t=158
Re: Negative constant error
you already have a 934g
Re: Negative constant error
Version name conflict - windows date time and also size are different
wil the real ARMBasic.exe please stand up
wil the real ARMBasic.exe please stand up