procedureinsertprocedurename
procedureinsertprocedurename
TEXT

The procedureinsertprocedurename statement inserts a procedure name into a procedure, adding quotes if necessary.

Parameters

This statement has one parameter:

text – procedure name to insert. (Note: The statement does not check that the text is actually a valid procedure name.)

Description

This statement inserts a procedure name into a procedure, adding quotes if necessary (if there are non alphanumeric characters in the procedure name).

    procedureinsertprocedurename "Calculate Ratio"

Note: This statement examines the text where the procedure name is about to be inserted for context. If there are quotes around the insertion spot, it will not add quotes. If there is an opening quote before the insertion spot, it will not add quotes and it will automatically add the appropriate closing quote mark.

See Also

- info("procedureselectedtext") -- returns the selected source code in the current procedure window.
- info("procedureselectionend") -- returns the ending position of the selected source code in the current procedure window.
- info("procedureselectionlength") -- returns the length of the selected source code in the current procedure window.
- info("procedureselectionstart") -- returns the starting position of the selected source code in the current procedure window.
- info("proceduretext") -- returns the source code in the current procedure window.
- procedureinsertfieldname -- inserts a field name into a procedure, adding chevrons if necessary.
- procedureinsertformname -- inserts a form name into a procedure, adding quotes.
- procedureinserttext -- inserts text into the current procedure.
- proceduresearch -- searches for text in a procedure.
- proceduresearchexact -- searches for text in a procedure.
- proceduresearchnext -- searches for text in a procedure, starting from the current location.
- proceduresearchnextexact -- searches for text in a procedure, starting from the current location.
- proceduresetselection -- changes the text selection in the current procedure editor window.
- startstoprecorder -- starts or stops recording into the current procedure.

History

Version | Status | Notes
10.0 | New | New in this version.