Forum
@ addresses "not constant" (*solved*) - Printable Version

+- Forum (https://www.boriel.com/forum)
+-- Forum: Compilers and Computer Languages (https://www.boriel.com/forum/forumdisplay.php?fid=12)
+--- Forum: ZX Basic Compiler (https://www.boriel.com/forum/forumdisplay.php?fid=11)
+---- Forum: Bug Reports (https://www.boriel.com/forum/forumdisplay.php?fid=15)
+---- Thread: @ addresses "not constant" (*solved*) (/showthread.php?tid=521)



@ addresses "not constant" (*solved*) - britlion - 01-04-2013

Code:
DIM MapPtr as uInteger = @Map

This comes back with Initializer expression is not constant.

And it is - shouldn't this expression work?

It works if the following line is MapPtr=@Map as a let.


Re: @ addresses "not constant" - boriel - 01-04-2013

I'm afraid I forgot to implement that case, but I guess It could be done. Let me check it... Tongue


Re: @ addresses "not constant" - boriel - 01-29-2013

It's taking longer than expected (I've switched job, meanwhile BTW :mrgreen: )
Hope to finish the fix today.


Re: @ addresses "not constant" - britlion - 02-01-2013

*blink* Again?

Er, congrats on the new job!


Re: @ addresses "not constant" - boriel - 02-11-2013

britlion Wrote:*blink* Again?

Er, congrats on the new job!
It's a research job (despite the crisis), and I'm very happy with it. Smile Thx.

BTW, I've finally fixed this "bug". In fact it's not a bug, but a compiler expansion feature. Took me more than expected (a hard one!).
So please, everybody check this version deeply before going further. :oops:

Please, download, version [url=http://boriel.com/files/zxb"]1.3.0s670[/url], and tell me. :roll: