put
-
command
-
The put command displays the value of an expression. +
put "hi" —> displays hiput 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 fooput foo —> hiput 77 into fooput foo —> 77 -
The put after command appends a value as text after the existing value of any container: +
put "hi" into fooput "gher" after fooput foo —> higher -
The put before command prepends a value as text before the existing value of any container: +
put "hi" into fooput "gher" before fooput 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