Don't turn 'print()' into (x2), (x3)

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.

15 Likes
print("Hi \n\n \n\nBye")

alternating blank lines and lines with 1 space doesn’t trigger the xNumber label
image

2 Likes

Sounds good, doesnt work. Not when your using prints to separate stuff in a rescursive function.

1 Like
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
1 Like

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.

13 Likes