i done the folloing macro to emulate a enum datatype.

enum MACRO iv:REQ, arglist:VARARG
LOCAL count
count = iv
FOR arg, <arglist>
arg equ count
count = count + 1
LEnum = count

But, if there are several more symbol names passed in the arglist i get the error: Literal too long..
Therefore the LEnum symbol holds the last count.

Its a cheap solution, are there any other ??? :)
Posted on 2002-03-12 15:00:18 by marsface