Difference between revisions of "AMOSi:Equ"

From Amiga Coding
Jump to: navigation, search
m (1 revision(s))
 
(Extracted from the AMOSPro V2.00 helpfile)
(No difference)

Revision as of 02:45, 17 November 2007

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")