--- old+++ new@@ -1,6 +1,7 @@-Why constants made by string literals can't be indexed by []?+Why constants made by string literals can't be indexed by \[\]?-CONST KEY_UP = CHR(255) + CHR(72)-DIM CH AS STRING-CH = KEY_UP[1]+ CONST KEY_UP = CHR(255) + CHR(72)+ DIM CH AS STRING+ CH = KEY_UP[1]+
it is ”expecting end of line” on line 3.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It looks like string indexing does not work on string constants currently. I think it could be added, as long as the index expression is constant aswell.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Oh gosh, have to get along that formatting....
i mean key_up indexed №1 by brackets
Diff:
It looks like string indexing does not work on string constants currently. I think it could be added, as long as the index expression is constant aswell.
Gee thanks now know.
Ticket moved from /p/fbc/bugs/633/
Can't be converted: