AMOSi:Equ

From Amiga Coding
Jump to: navigation, search

EQU returns any standard equate value used by the Amiga system libraries.


The equate can represent anything from the offset to a structure,to the names of your various bit masks. Providing it's supplied on the standard Amiga include files, it will be immediately available from AMOS Basic.


The only exception to this rule, are the library offsets.These should be obtained with the =LVO() function.


It's important to emphasise that the name string MUST be a constant. Expressions are NOT allowed!


equate=Equ("name_of_the_equate")