AMOSi:Equ

From Amiga Coding
Revision as of 02:45, 17 November 2007 by Spellcoder (talk | contribs) (Extracted from the AMOSPro V2.00 helpfile)
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")