02-15-2011, 02:58 PM
slenkar Wrote:I like underscoresUnfortunately not. In fact, the assembler allows ".". Thus this.identifier.is.a.valid.one is a valid identifier, and you can type:if its possible I would like them , but if its too difficult I could go without.
Could you use any of these symbols as a name space mangler ?
-
?
|
Code:
asm
ld a, a.very.large.identifier
end asm
slenkar Wrote:Im glad you put functions in zxbasic and removed the need for line numbersThere are some libraries already done. Look in /library/. Just include them with #include <....bas> (use agle brackets for standard libraries, instead of quotes).
When using compiler optimization >= 1 (-O1, -O2, -O3...) unused functions won't be compiled to save memory. This will issue a warning you can safely ignore.
Allowing multiline sentences is what makes impossible to allow "single lined" IFs like in the original ZX BASIC, so every IF must be closed with its corresponding END IF.
READ, DATA & RESTORE not only are affected by this. They're really tricky.