Differences

This shows you the differences between two versions of the page.

Link to this comparison view

cc65:symbols_in_local_scopes [2011-07-10 19:51]
uz
cc65:symbols_in_local_scopes [2012-07-22 09:02] (current)
uz Typo fix
Line 52: Line 52:
 </code> </code>
  
-the assembler doesn't know if a local definition for ''condition' will follow, so it delays evaluation of the expression until the local scope is closed. But expressions in ''.IF'' commands must actually be known when they're parsed. Which is why you get an error in this case. +the assembler doesn't know if a local definition for ''condition'' will follow, so it delays evaluation of the expression until the local scope is closed. But expressions in ''.IF'' commands must actually be known when they're parsed. Which is why you get an error in this case. 
  
 The solution is the same as above. Just tell the assembler that you're talking about the global symbol: The solution is the same as above. Just tell the assembler that you're talking about the global symbol:
cc65/symbols_in_local_scopes.1310320267.txt.gz ยท Last modified: 2011-07-10 19:51 by uz
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki