Boriel Basic Forum
Re: DEFB (*solved*) - Printable Version

+- Boriel Basic Forum (https://forum.boriel.com)
+-- Forum: Compilers and Computer Languages (https://forum.boriel.com/forumdisplay.php?fid=12)
+--- Forum: ZX Basic Compiler (https://forum.boriel.com/forumdisplay.php?fid=11)
+---- Forum: Bug Reports (https://forum.boriel.com/forumdisplay.php?fid=15)
+---- Thread: Re: DEFB (*solved*) (/showthread.php?tid=469)



Re: DEFB (*solved*) - britlion - 2012-06-16

Oh dear.


DEFB 157
DEFB "Man(e;@ "
DEFB 161

test.bas:1001 Error: illegal preprocessor character '@'
Build Failed!

So much for that idea.


Re: DEFB - boriel - 2012-06-17

britlion Wrote:Oh dear.


DEFB 157
DEFB "Man(e;@ "
DEFB 161

test.bas:1001 Error: illegal preprocessor character '@'
Build Failed!

So much for that idea.
Don't know your original source code, so I tested with this one:
Code:
ASM
DEFB 157
DEFB "Man(e;@ "
DEFB 161
END ASM
And got test.bas:3 Error: illegal preprocessor character '"'
so, there's an error within the zxb preprocessor (a new character not included previously, I guess), but notice I didn't got the same error msg. as you :?:


Re: DEFB - boriel - 2012-06-17

This was a bug (so moved this thread into there).
Please download version 1.2.9s882. It addressed many bugs (this being one of them).
Please, try it and tell me. :roll: