flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Tomasz Grysztar 18 Jun 2005, 10:55
The syntax for local are the multiple varname:vartype declarations separated with commas, you have wrongly interpreted the "match" line (read more about the "match" in the manual).
However, you can do it this way: Code: local buffer:BYTE 20 dup (?) or better for larger local structures: Code: locals buffer db 20 dup (?) endl Note also that there's no need to put the dot in the beginning of name for the locals. |
|||
![]() |
|
farrier 18 Jun 2005, 12:00
Privalov,
Thanks! Quote: you have wrongly interpreted the "match" line I'm not suprised! Trying to wrap my mind around macros! Code: local buffer:BYTE 20 dup (?) As it should be! Thanks again! farrier _________________ Some Assembly Required It's a good day to code! U.S.Constitution; Bill of Rights; Amendment 1: ... the right of the people peaceably to assemble, ... The code is dark, and full of errors! |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.