Re: Help with Execute - param and passing arrays

2001-08-30 Thread Wim Kerkhoff
iginal Message- > From: Wim Kerkhoff [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 29, 2001 6:13 PM > To: John Sydnor > Cc: [EMAIL PROTECTED] > Subject: Re: Help with Execute - param and passing arrays > > Hey John, > > I'll reply as I've just finis

RE: Help with Execute - param and passing arrays

2001-08-30 Thread John Sydnor
Title: RE: Help with Execute - param and passing arrays Hi Wim, Thank you very much, that did the trick. You saved me a good bit of wasted time. How should I be posting to this list if not by email? Thanks, John -Original Message- From: Wim Kerkhoff [mailto:[EMAIL PROTECTED

Re: Help with Execute - param and passing arrays

2001-08-30 Thread Luiz Fernando B. Ribeiro
Olá John, Reply: JS> I'm having trouble passing arrays to Execute. JS> Passing parameters to my page component: JS> Execute ({inputfile => $CSI_common."displayresponder.html", param => JS> [$bgcolor1,$bgcolor2,$textcolor,@records]}); JS> Reading the parameters in my page component: JS> [-

Re: Help with Execute - param and passing arrays

2001-08-29 Thread Ken Ray
John, Try passing your params as references to the actual variables - remember, paramaters are all "mushed" into a single array when they are passed, so by using references, and de-referencing them, you can disentangle the individual variables easily. Ken Ray >Hi, > >I'm having trouble passi

Re: Help with Execute - param and passing arrays

2001-08-29 Thread Wim Kerkhoff
Hey John, I'll reply as I've just finished fighting through learning how to pass scalers and hashes via param. I'd have responded sooner if you hadn't posted in email, though. I believe you need two pass your @records array by reference. Pass the parameters: [- @records = qw(one two three);

Help with Execute - param and passing arrays

2001-08-29 Thread John Sydnor
Hi,   I'm having trouble passing arrays to Execute.   Passing parameters to my page component:   Execute ({inputfile => $CSI_common."displayresponder.html", param => [$bgcolor1,$bgcolor2,$textcolor,@records]});   Reading the parameters in my page component: [- $bgcolor1 = $param[0