flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > [fasmg] Symbol is undefined or out of scope problem |
Author |
|
Tomasz Grysztar 03 Apr 2017, 12:44
The problem is caused by the case when both "name" and "structname" are equal to "POINT", because then
Code: name.__size = structname.__size Code: POINT.__size = POINT.__size You can see that this is the problem when you put additional condition around the problematic line: Code: if `name <> `structname name.__size = structname.__size end if I would suggest to use ":=" instead of "=" to make sure that symbols can always be forward-referenced, but you still have to ensure that each of them is defined exactly once. |
|||
03 Apr 2017, 12:44 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.