Archive: function with two or more output data..


function with two or more output data..
dear all

I don't knwo very well using the push and pop and exch fucntion...
so I want to create a function with two outvar parameters

Function INeedTwoOrMoreParameters OutVar1 OutVar2

push $R0
push $R1


;fill in the two parameters..


//how to get out these parameters?

functionEnd



;call the function.

INeedTwoOrMoreParameters



//how to get the two paramaters


thanks by advance


I don't knwo very well using the push and pop and exch fucntion...
Here is a plain tutorial...

http://nsis.sourceforge.net/Pop%2C_Push%2C_Exch..._The_Stack

I don't know what is going on...
I'm trying to submit a link to wiki and getting strange results...

Once more

http://nsis.sourceforge.net/Pop%2C_P...h..._The_Stack


http://nsis.sourceforge.net/Pop, Pus...h... The Stack

here you go :)

/edit:
o0

the forums are blocking URLS right now....


ok
I think it will help me...
thks


it works very well, I understand finally the use of push pop...
thks a lot.
item to close