The procedureinserttext statement inserts text into the current procedure.
This statement has one parameter:
text – the text to be inserted.
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.
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.
|10.0||New||New in this version.|