SetCodeText

Description:              This function will modify a source code file to replace the text for a given CodeValue with the new text.

Returns:                    Invalid on success, numeric error code otherwise.

Usage:                   Script

Format:                      SetCodeText(CodeValue, NewText)

Parameters:             CodeValue    { Code Value }  { required }  { no default: }

                                                Any code value giving the statement whose text is to be replaced..

                                    NewText    { text  }  { required }  { no default: }

                                                Any text or a buffer

Comments:               The given source file must be present and have read/write privileges. This function does not immediately updated the statement’s currently loaded module until that module is recompiled (usually upon a shutdown/restart cycle.