Warning

You're browsing the old v2.x documentation. This version is no longer maintained. Click here to go the v3.x documentation.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
aliasfn [2019/08/08 10:00] neilsaliasfn [2019/08/08 10:03] neils
Line 9: Line 9:
 The ''ALIASFN'' directive registers a new function alias in order to make it possible to call a user function without the ''USR'' keyword. This directive is mainly used in extensions. The ''ALIASFN'' directive registers a new function alias in order to make it possible to call a user function without the ''USR'' keyword. This directive is mainly used in extensions.
  
-The function name must be a valid identifier i. e. it starts with alpha or underscore and contains alpahumeric chars or underscores only. It may be appended with a sigil - any of these characters: ''!#%$'' indicating that the function alias refers to a function that returns a specific type. The default is ''#'' (integer).+The function name must be a valid identifier i. e. it starts with an alpha char or underscore and contains alphanumeric chars and underscores only. It may be appended with a sigil - any of these characters: ''!#%$'' indicating that the function alias refers to a function that returns a specific type. The default is ''#'' (integer)
 + 
 +The same alias for different types is allowed and encouraged, for example you can define the aliases ''myFunc!'' and ''myFunc#'' that point to different addresses.
  
 Example: Example: