Topic: APLX Help : Help on APL language : System Functions & Variables : ⎕EDIT Edit fn/op/var
[ Previous | Next | Contents | Index | APL Home ]

www.microapl.co.uk

⎕EDIT Edit fn/op/var


The APLX editor may be accessed via the system function ⎕EDIT (see also )EDIT).

If you are creating a new object, the optional left argument is 0 if you want to create a function, 1 if you want to create a variable, or 2 if you want to create a class. The default is to create a function. The left argument is ignored if the object already exists.

             ⎕EDIT 'NAME'        ⍝ EDIT EXISTING OBJECT <NAME>
                                 ⍝ EDIT NEW FUNCTION OR OPERATOR <NAME>
             0 ⎕EDIT 'NAME'      ⍝ EDIT NEW OR EXISTING FUNCTION OR OPERATOR
             1 ⎕EDIT 'NAME'      ⍝ EDIT NEW OR EXISTING VAR <NAME>
             1 ⎕EDIT 'CLASS'     ⍝ EDIT NEW OR EXISTING CLASS <NAME>

The operation of the editor may vary according to the implementation of APLX being used. Under Windows and MacOS, APL execution will be suspended until the editing is complete if you invoke it with ⎕EDIT, but not if you invoke it in any other way.


Topic: APLX Help : Help on APL language : System Functions & Variables : ⎕EDIT Edit fn/op/var
[ Previous | Next | Contents | Index | APL Home ]