Configuring Qedit as Your Editor

Later versions of PowerHouse have a Revise command. This command invokes your configured editor, tells it which file to edit, and optionally, tells PowerHouse how to process that file upon return.

By default, PowerHouse invokes the Editor.Pub.Sys. file. Setting the :File equation

  :file cogeditr=qedit.pub.robelle  

configures Qedit to be your PowerHouse editor. We recommend that you add this :File equation to your system UDCs. PowerHouse invokes Qedit with a ,Basicentry entry point, and pass a file to be edited via a :File equation for Edttext.

In QUIZ,

  > revise  

invokes Qedit with the Quizsave file texted. Quizsave contains all the QUIZ statements you have entered since the last Cancel Clear, Save Clear, or Set Save Clear. After making your revisions, you will be asked whether you wish to save your changes when you exit Qedit. Quizsave will then be re-executed by QUIZ. Use the command

  > revise filename  

to edit a specific filename. On return to QUIZ, that file will be executed. To suppress execution of the edited file on return to QUIZ, use the NOUSE option:

  > revise filename NOUSE  

See the PowerHouse manuals for a full description of the options available.

Configuring Qedit as Your Editor