flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
LocoDelAssembly 05 Aug 2007, 21:03
I was using this one for a while to uniquely identify resources
Code: macro UID id* { if ~defined UID | ~UID UID = 0 end if UID = UID+1 id = UID } So, each time I call UID I get a new ID. Your macro is still good, since it behaves like enum of C and can be used for the same purposes. Thanks for sharing! |
|||
![]() |
|
Blid 08 Aug 2007, 07:41
Code: your macro + my |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.