Code: |
Dim a$()={"Dim a$()={","#null a$(0)+$34+a$(0)+$34+$44+$34+a$(1)+$34+$125+$NL+a$(1)+$NL"}
#null a$(0)+$34+a$(0)+$34+$44+$34+a$(1)+$34+$125+$NL+a$(1)+$NL |
The features include:
- Implicit dimensioning and initialization of arrays by using a list of elements inside curly braces
- String constants by ASCII code/Unicode offset by preceding a number with a dollar sign, including all number bases (e.g. $42, $H2A, $O52, $B101010).
- Similarly, string constants by (abbreviated) name, such as the $NL above which represents the platform-dependent newline character/sequence.
Semantically, the above code implies that the #Null object has a default method that sends a string to some output buffer such as stderr or a debugger's output window. I'm also considering naming this #Debug instead.
What do you think?