flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > Concatenating and quoting

Author
Thread Post new topic Reply to topic
negativeIQ



Joined: 03 Oct 2004
Posts: 7
negativeIQ 06 Oct 2004, 22:22
Hi, I need to write a macro which appends something to its only argument and then enclose the result in quotes. I've tried to play with ` and # operators with no success. Thanks in advance for helping.

Bye.
Post 06 Oct 2004, 22:22
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8356
Location: Kraków, Poland
Tomasz Grysztar 06 Oct 2004, 22:32
Is something like
Code:
macro foo bar
{ display `bar#'.' }    
what you're looking for?
Post 06 Oct 2004, 22:32
View user's profile Send private message Visit poster's website Reply with quote
negativeIQ



Joined: 03 Oct 2004
Posts: 7
negativeIQ 06 Oct 2004, 22:36
Wow! So simple, thanks!
Post 06 Oct 2004, 22:36
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.