HPlogo QUERY/iX Reference Manual > Chapter 5 QUERY/iX COMMANDS (cont)

RENAME

MPE documents

Complete PDF
Table of Contents

E0300 Edition 7 ♥
E1098 Edition 6

Changes the name of a procedure in the current Proc-file.

Syntax



  REN[AME] old procedure name, new procedure name

For example:

  >RENAME UPCUST,UPACCT 

Where old procedure name = UPCUST and new procedure name = UPACCT

Parameters


old procedure name

is the name currently associated with the procedure.

new procedure name

is the name you want to use for the procedure in the future. Refer to the CREATE command for naming rules.

Discussion


Both procedure names must follow the rules defined in the CREATE command description. An error message is printed if old procedure name does not refer to an existing procedure in the current Proc-file.

  >PROC-FILE  =PROCACCT
  >DISPLAY LIST

  FINDACCT       FINDSALE      UPCUST       REPACCT      REPSALE
  >RENAME UPCUST,UPACCT
  >DISPLAY LIST

  FINDACCT       FINDSALE      UPACCT       REPACCT      REPSALE




RELEASE


REPORT