
making %OUT work properly
> VersionMajor equ 5
> VersionMinor equ 2
> %OUT My test program. Version <VersionMajor>.<VersionMinor>
> Of course, what I want this to do is to output the following to the
> console during compilation:
> My test program. Version 5.2
Don't ask me to explain this, but you need a macro to achieve this:
ShowVal MACRO m1, m2, m3, m4, m5, m6, m7, m8, m9
%out &m1&m2&m3&m4&m5&m6&m7&m8&m9
ENDM
VersionMajor equ 5
VersionMinor equ 2
ShowVal <Assembling program version >, %VersionMajor, <.>, %VersionMinor
Gertjan.
--