it seems ziron erases the white space inside '' , strange.
i was trying to put white space between tokens.
http://www.freewebs.com/ogremagic/index.htm
A community discussion post from the original code:zIRON forum.
it seems ziron erases the white space inside '' , strange.
i was trying to put white space between tokens.
http://www.freewebs.com/ogremagic/index.htm
no, the problem is macros can not contain direct call to a function :)
eax = Ziron_GetStringValue();
H_strjoin(@val, ' ' ,eax);
when use your suggestion , the plugin hangs.
anyway i solved that by this
H_strcat(@val, ' ');
H_strcat(@val, Ziron_GetStringValue());
http://www.freewebs.com/ogremagic/index.htm
probably because eax is trashed in join, so you could just use another register
edx = Ziron_GetStringValue();
I want to take your opinion in something.
the define directive as function_like_macro has parameters and those paras exist in macro body.
as you can see from my plugin , i was trying to use inline procedure to convert the define
macro, also as you know inline procedure function need a "$" term before the para in the procedure body. so i have to save each paras in an array and check the define body for matching with any para and if so i have to put "S" term before it.
so it hard to do that, instead can we allow inline procedure without "$" before each param
inside the body of porcedure.
http://www.freewebs.com/ogremagic/index.htm