Livecode Wiki

Used with the put command to place a value at the start of a container or chunk.


put return before myVariable
put thisValue before line 17 of field "Results"

Use the before keyword to position the insertion point at a selected location in a field, or to add text at a specific location in a container.

You can specify either a container, or a chunk within a container. If you don't specify a chunk, the before keyword specifies the start of the container.

When you use the before keyword, the current contents of the container or chunk is not affected. The text is added to the container or chunk, instead of replacing it.

See Also: after Keyword, put Command