flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > number of arguments in a macro with group arguments

Author
Thread Post new topic Reply to topic
Cgtk



Joined: 10 May 2020
Posts: 19
Cgtk 03 Jul 2020, 22:29
Hello, I set the macro parameter this way.
Code:
macro ttest [args]
{
}
    


How do I find out exactly how many arguments are included in the args group?
Post 03 Jul 2020, 22:29
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20430
Location: In your JS exploiting you and your system
revolution 03 Jul 2020, 23:26
Use forward
Code:
macro ttest [args]
{
 common
   local count
   count = 0
 forward
   count = count + 1
}    
Post 03 Jul 2020, 23:26
View user's profile Send private message Visit poster's website Reply with quote
Cgtk



Joined: 10 May 2020
Posts: 19
Cgtk 05 Jul 2020, 19:49
Thank you
Post 05 Jul 2020, 19:49
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.