Paul,
according to the documentation EBasic should be able to work with negative float values
inside a DATA statement.
It seems that the parser don't like them as it produces an error.
Works here, but I will be happy to look into it for you.
Using a proven project, I put a minus sign in front of a DATA value in a .inc file and got this error: CONST/DATA unsupported operation
The .inc file name and number of the line with the altered DATA value were correctly shown.
I may have inadvertantly fixed it since the last update. I added global constant initializers from the Aurora parser which uses a completely different preparser. Like I said though I will look into it ;)
Quote from: mrainey on December 06, 2006, 08:46:57 PM
Using a proven project, I put a minus sign in front of a DATA value in a .inc file and got this error:ÂÃ, CONST/DATA unsupported operation
The .inc file name and number of the line with the altered DATA value were correctly shown.
Thanks Michael for backing me up.
I said I would look into it Mike, you didn't need backing up and it is the first time anyone reported anything of the like with Emergence. However it works on the current build here so you need not fret about it any longer. ::)