I'm creating a script call command, which is rather large and doesn't fit in the Script Box window. Obviously, in its current form it gives me an error, so I tried looking up some Ruby tutorials as to how to break a line into two by using "/', but that didn't work either. How can I continue a command into multiple lines?
Script Call line continuation
Learning Ruby and RGSSxUsing a backslash instead of a slash should work. Despite from that, you can always include a linebreak after a dot, comma, operator, opening bracket or right before a closing bracket.
This at least would be my rule of thumb from Ruby 1.8 times.
This at least would be my rule of thumb from Ruby 1.8 times.
In case you didn't find out already, you have an excess closing square bracket at the end of your code.
If you insert a linebreak after a comma, you don't necessarily need to escape the newline character with a backslash (of course doing it is not an error either).
If you insert a linebreak after a comma, you don't necessarily need to escape the newline character with a backslash (of course doing it is not an error either).
PFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF... Thank you very much!
Original thread: https://forums.rpgmakerweb.com/threads/script-call-line-continuation.39824/