Stupid question but I can't seem to find the answer. For example if I had this bit of Lua code:
print("<html code blabla>
<more html><and its long so I want to break it up like this>")
I've tried using \
and /
at the end of the first line but it doesn't seem to work. Is this possible to do in Lua and if so how?
In Lua, break statement enables us to come out of the inner block of a code. Break statement is used to end the loop. The break statement breaks the for, while, or repeat loop which includes the break statement. After the break loop, the code runs after the break statement and the broken loop.
Like that lua does not have the “continue” keyword instead of that we have do break end the statement will never ends still they have some implements waiting for the script execution.
# is the lua length operator which works on strings or on table arrays.
print("<html code blabla>\z
<more html><and its long so I want to break it up like this>")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With