In Pico-8 I can do this:
d={ "one", "two", "three" } print(d[1][2]) |
This would return the 'n' from 'one'
Picotron returns nil.
I have to use
sub(d[r],c,c) |
Has lua syntax changed or is this a Picotron thing?
2
zep added string indexing to pico-8’s lua, but not to picotron’s
[Please log in to post a comment]