procedureinsertfieldname
procedureinsertfieldname
TEXT

The procedureinsertfieldname statement inserts a field name into a procedure, adding chevrons if necessary.

Parameters

This statement has one parameter:

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

Description

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

    procedureinsertfieldname "P/E Ratio"

Note: This statement examines the text where the field name is about to be inserted for context. If there are quotes around the insertion spot, it will not add chevrons. If there is an opening quote before the insertion spot, it will not add chevrons 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.
- procedureinsertformname -- inserts a form name into a procedure, adding quotes.
- procedureinsertprocedurename -- inserts a procedure name into a procedure, adding quotes if necessary.
- 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.