I can see how to have a string linked to another thus:
cls() a=[[apple juice]] print(a) |
apple
juice
However, how do you link a string to another on 2-lines that does not put a CR (#10) inside the text between code lines ?
cls() print[[apple;; juice]]) |
applejuice
How do you do it ?
P#30922 2016-10-14 11:28 ( Edited 2016-10-14 15:58)
I don't think this is possible, since [[]] quotes don't interpret escape sequences. Normally I'd suggest stripping the newlines with a string replacement function, but it doesn't look like you can get at Lua's gsub from inside PICO-8.
If you're okay with the quotes, there's:
CLS() PRINT("APPLE" .."JUICE") |
P#30925 2016-10-14 11:49 ( Edited 2016-10-14 15:49)
[Please log in to post a comment]