04-18-2010, 06:51 PM
I got the following error:
I took a look at the random.asm library. Lines 10 are 11 are the following:
And line 31:
So I suspected the problem had something to do with this line of my program:
I defined FRAMES because I use it for several calculations.
I was right: I renamed it MYFRAMES and the error didn't happen again.
Does it means the EQU assembler labels conflict with #DEFINEd labels?
Quote:random.asm:10: Error: Syntax error. Unexpected token '23672' [INTEGER]
I took a look at the random.asm library. Lines 10 are 11 are the following:
Code:
LOCAL TAKE_FRAMES
LOCAL FRAMES
And line 31:
Code:
FRAMES EQU 23672
So I suspected the problem had something to do with this line of my program:
Code:
#define FRAMES 23672
I defined FRAMES because I use it for several calculations.
I was right: I renamed it MYFRAMES and the error didn't happen again.
Does it means the EQU assembler labels conflict with #DEFINEd labels?
Marcos Cruz
http://programandala.net
http://programandala.net