Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Taking the parameter as return value INSTALLSCRIPT


2 replies to this topic

shriraj

shriraj
  • Full Members
  • 11 posts

Posted 02 November 2007 - 13:36

Hi,

I want to get three four parameters from one function into another.
I have created a custom dailogbox, for that i have created a demofunction which will get the textfield values from dailog box.

suppose i call the function

nResult=demofunction(string1,string2,string3)

i want these string1,2,3 as collect value from the function and also return number value that will tell me about the button clicked(back,next,cancel).

is this possible?

or for example like GetCurrentDir(svcurrentdir) returns the dir value in svcurrentdir. How can this be done?

Please help


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 02 November 2007 - 13:40

Yes, you can do this. Be sure to prototype the parameter as BYREF.

shriraj

shriraj
  • Full Members
  • 11 posts

Posted 03 November 2007 - 10:04

Thanks buddy, it worked rolleyes.gif