flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
LocoDelAssembly
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
Code: your macro + my |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.