PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

ARMASM MACRO

How to define amount of arguments in macro and to touch them in a cycle?

pseudocode

MACRO
funcname %arg1,$arg2...$argN
LCLA count
count SETA ??? ;num args

WHILE count>0

arg[count]

count SETA count-1
WEND

MEND