Cls

From codeTank

Jump to: navigation, search

Contents

Description

cls will clear Brain Damage's output window.

Arguments

cls takes no arguments.

Returns

cls doesn't return anything.

Example

print("Hello World!")              -- outputs: Hello World!
cls()                              -- erases all output, including previous print statement
print("Your Mom Goes to College!") -- outputs: Your Mom Goes to College!

-- The end result is the user will not realistically see the "Hello World!"
-- output, because it is cleared away too quickly to notice it.

See Also

Personal tools