Definition: | ? object x |
Description: |
This is just a shorthand way of saying:
print(1, x) -
i.e. printing the value of an expression to the standard output.
It is typically used for quick debugging statements that will be removed before the final product is shipped. It differs slightly from print() as it adds new-lines to make the output more readable on your screen, or wherever you may have redirected standard output. |
Example: |
?sq_add({1, 2},{3, 4}) -- displays {4, 6} ?"hello" -- displays "hello" |
See Also: |