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

Next revision
Previous revision
Next revisionBoth sides next revision
aliasfn [2019/08/06 13:50] – created neilsaliasfn [2019/08/08 10:00] neils
Line 5: Line 5:
 Syntax: Syntax:
  
-  aliasfn <int address>, "<function name>"+  aliasfn <const int address>, "<function name>"
      
 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 a 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).
  
 Example: Example: