procedureinserttext
TEXT

The procedureinserttext statement inserts text into the current procedure.


Parameters

This statement has one parameter:

text – the text to be inserted.


Description

This statement inserts text into the current procedure (a procedure editing window must be active). The text will replace whatever text is currently selected (if necessary, you can use the proceduresetselection statement to change the selection before you insert).

procedureinserttext "Hello World!"

You can delete the currently selected text by inserting nothing.

procedureinserttext ""

Note: When you use the procedureinserttext statement, it is automatically “undo-able”. It will appear in the Undo menu as Undo Typing. If you use multiple procedureinserttext statements in your program, each one will be separately undoable, there is no way to combine several procedureinserttext statements into a single Undo event.


See Also


History

VersionStatusNotes
10.0NewNew in this version.