News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Out the ; by echo directive

Started by Rockphorr, October 13, 2006, 03:49:31 PM

Previous topic - Next topic

Rockphorr

I wont to out the comment symbol <;> by ECHO directive.
Is it possible by MASM ???
I used before echo. It was no effect.
Strike while the iron is hot - Бей утюгом, пока он горячий

zooba

Try putting an exclamation mark before it. The exclamation mark is MASM's escape character for this sort of thing:

ECHO !;

Alternatively, try using TEXTEQU:

commentchar TEXTEQU <;>
ECHO commentchar

Rockphorr

Quote from: zooba on October 13, 2006, 11:32:52 PM
Try putting an exclamation mark before it. The exclamation mark is MASM's escape character for this sort of thing:

ECHO !;

Alternatively, try using TEXTEQU:

commentchar TEXTEQU <;>
ECHO commentchar


I was tried. Is is not wok.
ECHO !;
out !
commentchar TEXTEQU <;>
ECHO commentchar
out <
Strike while the iron is hot - Бей утюгом, пока он горячий

zooba

Hmm... maybe it can't be done then. Anyone else have any ideas?