Open SK1Y101 opened 3 years ago
when using show, any variable names are automatically converted to their values:
if the variable "x" was 10, then show x
would show "10" on the screen
However, using the variable name in quotation marks would force it to show as is:
show x
would print "x" on the screen.
additional variants of the keyword could include display
Some languages use
print()
, others useprintf()
I think the keyword
show
shuld come bfore anything that is to be printed to the screen.ie, instead of
print("hello world")
, we useshow hello world
Multiple keywords can be used, not just
show
, of course