[Proto-Scripty] Re: question from newbie, how add parameters?

2009-06-29 Thread Rick Waldron
You code was rife with syntax errors... I posted a demo of the corrected switch statement here: http://jsbin.com/ataka there is also some basic event stuff to show it in action Rick On Mon, Jun 29, 2009 at 7:08 PM, Miguel Beltran R. yourpa...@gmail.comwrote: Hi list if have a variable

[Proto-Scripty] Re: question from newbie, how add parameters?

2009-06-29 Thread Miguel Beltran R.
2009/6/29 Rick Waldron waldron.r...@gmail.com You code was rife with syntax errors... I posted a demo of the corrected switch statement here: http://jsbin.com/ataka there is also some basic event stuff to show it in action Rick Thanks Rick, but I want know how append a option to

[Proto-Scripty] Re: question from newbie, how add parameters?

2009-06-29 Thread Rick Waldron
After the switch, add this: vparams['your_additional_property'] = 'additional property's value'; I hope this is what you mean... On Mon, Jun 29, 2009 at 8:16 PM, Miguel Beltran R. yourpa...@gmail.comwrote: 2009/6/29 Rick Waldron waldron.r...@gmail.com You code was rife with syntax

[Proto-Scripty] Re: question from newbie, how add parameters?

2009-06-29 Thread Miguel Beltran R.
2009/6/29 Rick Waldron waldron.r...@gmail.com After the switch, add this: vparams['your_additional_property'] = 'additional property's value'; I hope this is what you mean... Thanks, this help me --~--~-~--~~~---~--~~ You received this message because you

[Proto-Scripty] Re: question from newbie, how add parameters?

2009-06-29 Thread T.J. Crowder
Hi, FWIW, if the name of the additional property is static, then vparams['your_additional_property'] = 'additional property\'s value'; can be written: vparams.your_additional_property = 'additional property\'s value'; You only need the bracketed notation giving the property name as a

[Proto-Scripty] Re: question from newbie, how add parameters?

2009-06-29 Thread Rick Waldron
HA! I didn't even notice that i'd not escaped my apostrophe! On Mon, Jun 29, 2009 at 11:27 PM, T.J. Crowder t...@crowdersoftware.comwrote: Hi, FWIW, if the name of the additional property is static, then vparams['your_additional_property'] = 'additional property\'s value'; can be