File size: 426 Bytes
29a5ed9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | -- Simple output examples - Yownas
-- Clear Output box
ui.clear()
-- Add text to Output
ui.out("Adding text to Output with ui.out()")
-- These two have basically the same functionality
print("Using print()")
ui.console("Using ui.consol()")
-- Log
ui.log.info("Some information.")
ui.log.warning("A warning!")
ui.log.error("An error! Help!")
-- An optional return() will write to the Output box
a = 1
b = 2
return(a + b)
|