flat assembler
Message board for the users of flat assembler.

Index > Main > Concatenate preprocessor symbolic constants...

Author
Thread Post new topic Reply to topic
Jeronimus Linuxius



Joined: 28 Jun 2007
Posts: 37
Jeronimus Linuxius 30 Jun 2007, 17:35
is there any way to concatenate two preprocessor symbolic constants?

for example, I do:

qwerty equ lkjhgf

Then I want "qwerty" to mean "lkjhgfmnbvcxz" by using concatenation... Is it possible?

The only place where I know it is possible is inside macros, with the "#" operator...

JJ
Post 30 Jun 2007, 17:35
View user's profile Send private message MSN Messenger Reply with quote
Mr_Silent



Joined: 25 Apr 2006
Posts: 30
Mr_Silent 01 Jul 2007, 14:13
Code:
qwerty equ lkjhgf
match _,qwerty { qwerty equ _#mnbvcxz }
    
Post 01 Jul 2007, 14:13
View user's profile Send private message Reply with quote
Jeronimus Linuxius



Joined: 28 Jun 2007
Posts: 37
Jeronimus Linuxius 01 Jul 2007, 20:27
Mr_Silent wrote:
Code:
qwerty equ lkjhgf
match _,qwerty { qwerty equ _#mnbvcxz }
    


Thanks

JJ
Post 01 Jul 2007, 20:27
View user's profile Send private message MSN Messenger 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.