put
-
command
-
The put command displays the value of an expression. +
put "hi" —> displays hi
put 4+5 —> displays 9 -
The put into command puts a value into a container, completely replacing the previous contents of the container. +
put "hi" into foo
put foo —> hi
put 77 into foo
put foo —> 77 -
The put after command appends a value as text after the existing value of any container: +
put "hi" into foo
put "gher" after foo
put foo —> higher -
The put before command prepends a value as text before the existing value of any container: +
put "hi" into foo
put "gher" before foo
put foo —> gherhi -
Note: The put after and put before commands append and prepend values as text. To add values to a list always use the insert command instead.
-
Related: set, insert