flat assembler
Message board for the users of flat assembler.
Index
> Projects and Ideas > log lvl,str |
Author |
|
Tomasz Grysztar 28 Oct 2024, 16:30
Something like this?
Code: virtual as 'log' LOG:: .level = 3 end virtual macro log lvl, str& { virtual LOG if lvl >= LOG.level db str end if end virtual } log 3, 'hello' log 1, 'hi' |
|||
28 Oct 2024, 16:30 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.