It appears that when you add parameters using the add parameter functions for ExecuteScriptEnhanced(), that the parameters have to be added in the order that they are passed into the function. I recenly added a parameter to a function that was working, then it completely stopped working. When I changed the order of the parameter functions in the calling script, the script started working again.
Has anyone else noticed this?
Order or parameters for ExecuteScriptEnhanced()
Débuté par
M. Rieder
, avril 27 2011 01:46
#1
Posté 27 avril 2011 - 01:46
#2
Posté 27 avril 2011 - 04:48
I would suspect this is true.
That was added in 1.23, and i've not seen anyone else using this yet. Grinning fool did it, and you might ask him more questions about it in IRC. ( he avoids posting in forums here as much as possible unless he really needs to moderate a bad apple )
That was added in 1.23, and i've not seen anyone else using this yet. Grinning fool did it, and you might ask him more questions about it in IRC. ( he avoids posting in forums here as much as possible unless he really needs to moderate a bad apple )
#3
Posté 27 avril 2011 - 11:26
I've used ExecuteScriptEnhanced() several times and have found it to be very useful. Haven't run into any problems as long as the parameters are in the right order.
#4
Posté 29 avril 2011 - 10:28
I have it earmarked for some stuff, but I haven't really gotten around to using it much yet. It looks pretty useful, and I've used it for returning an int from a script, but not yet to add parameters. The whole order thing is good to know.





Retour en haut






