AMOSi:Equ

From Amiga Coding
Revision as of 01:51, 17 November 2007 by Spellcoder (talk | contribs) (1 revision(s))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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")