BuiltWithNOF
Function Editing

This group is used to fetch, edit and replace objects on the system files It contains the basic object manipulation functions plus a number of edit tools and ancillary utilities together with all sub-functions required to run them:

POINT_AND_EDIT

  POINT_AND_EDIT ''
  Run once with a numeric argument, resets that function key to invoke point and edit. Each time that key is then pressed this function is invoked and analyses the line on with the cursor is located. The name of the APL object upon which the cursor is place is extracted and passed to zED. This process effectively enables the user to edit a function mearly by 'pointing' to it.

TEAM_MEMBER

  res ¬ TEAM_MEMBER
  This functions establishes the 'whoami' variable from the development team static. It is used by zED to generate the Version comment.

zED

  res ¬ 'controls' zED 'function list'
  Uses the standard APL object editor, but with several enhancements:
  Adds a version number, time stamp and changed by comment to line 1
  'controls'[1] = 1 edit function. = 2 show version comments only
  'controls'[1] = use zLC function.
  Shift F6 List all functions in Workspace
  Shift F7 List functions in Workspace which use this function
  Shift F8 List functions in Workspace called by this function (see zNL)
  Shift F9 Select all functions listed by the about 3 keys
  Shift F1-F5 Select/Deselect displayed function. Up to 5 functions selected by keys 6,7 & 8 are displayed at the bottom of the screen. Selected functions are available for edit when the current function is closed.
  Shift F10 scroll through listed functions (if more than 5 in list).

zFS

  res ¬ 'function list' zFS 'string'
  String search routine. It will search in the workspace for all functions containing the string in the right argument. The functions searched may be restricted to those listed in the left argument. The function names and line numbers are displayed and the result is the names of all functions which contain the string.

zLC

  res¬ '' zLC ''
  Utility used by zED to work out 'correct' localisation of referenced names, e.g. if a variable is used by unlocalised. It may suggest localising legitimate globals or functions which are not currently in the workspace.

zNL

  res¬ zNL 'function name'
  Utility used by zED to work out function names called by the function being viewed.

[4xtra Features] [Overview] [Using The System] [Developers] [Administrators]