## ŒFX Fix function/operator/class

This system function is the inverse of ŒCR.

It accepts as a right argument the canonical representation of a function, operator, or class (i.e. the text representation of the item). The right argument may be a character matrix, a simple character vector with embedded carriage returns, or a nested character vector with each line a separate item in the vector.

It returns a result which is either a character vector containing the name of the function, operator or class which has been fixed, or an integer showing the first line which was invalid. An item cannot be fixed if the name of that item is already in use for another object type.

For functions and operators, a left argument of 0 (or no left argument) causes the function to be left unlocked, while 1 causes it to be locked. Normal applications can include functions which are modified under program control, and it is in such applications that ŒCR and ŒFX are of use.

For details of the format for the canonical representation of a class, see ŒCR. Note that the order in which the members appear in the text form does not matter.

Topic: APLX Help : Help on APL language : System Functions & Variables : ŒFX Fix function/operator/class

[ Previous | Next | Contents | Index ]