Empty prints are used to create seperation lines.
Right now, doing:
print("Hi")
print()
print()
print()
print("Bye")
will result in:
Hi
(x3)
Bye
when what we really want is:
Hi
Bye
Suggestion: Make an exception for empty prints.
Empty prints are used to create seperation lines.
Right now, doing:
print("Hi")
print()
print()
print()
print("Bye")
will result in:
Hi
(x3)
Bye
when what we really want is:
Hi
Bye
Suggestion: Make an exception for empty prints.
print("Hi \n\n \n\nBye")
alternating blank lines and lines with 1 space doesn’t trigger the xNumber label
Sounds good, doesnt work. Not when your using prints to separate stuff in a rescursive function.
print("Hi")
print()
print(" ") --just make it not repeat immediately
print()
print("Bye")
after many edits, this seems to be most reliable;
local bla = false
function somethingRecursive()
print(bla and ' ' or '')
bla = not bla
end
Yes, you can use a workaround. But the suggestion is still good one: The only reason that you would want to do an empty print is to create a newline, so the the output window “helpfully” collapsing it is never actually helpful at all.