Author | Topic: HTML3 AssignVar() method | |
---|---|---|
Vladimir Iahnenco | HTML3 AssignVar() method on Mon, 17 Apr 2006 22:44:08 -0400 Hi All, Just found HTML3 object has this method. oHtml:GetVal("Error") NIL oHtml:AssignVar("Error","ON") //"ON" oHtml:GetVar("Error") //"ON" Does it simply add a name-value pair to aQueryVars? Thanks, Vladimir | |
Phil Ide | Re: HTML3 AssignVar() method on Thu, 04 May 2006 20:44:17 +0100 Vladimir, > Hi All, > Just found HTML3 object has this method. > > oHtml:GetVal("Error") NIL > oHtml:AssignVar("Error","ON") //"ON" > oHtml:GetVar("Error") //"ON" > > Does it simply add a name-value pair to aQueryVars? GetVar fetches a CGI variable from waa1gate. SetVar sets a dummy CGI variable (I believe) AssignVar is an alias of SetVar. GetVal - unknown, is it in waa v1.90? It's not in 1.82. Regards, Phil Ide *************************************** * Xbase++ FAQ, Libraries and Sources: * * goto: http://www.idep.org.uk/xbase * *************************************** If I find my beautiful consort with access to my fortress has been associating with the hero, I'll have her executed. It's regrettable, but new consorts are easier to get than new fortresses and maybe the next one will pay attention at the orientation meeting. [Things I'd do as an Evil Overlord] | |
Thomas Braun | Re: HTML3 AssignVar() method on Fri, 05 May 2006 09:30:39 +0200 Hi Phil, welcome back > GetVar fetches a CGI variable from waa1gate. > SetVar sets a dummy CGI variable (I believe) > AssignVar is an alias of SetVar. > > GetVal - unknown, is it in waa v1.90? It's not in 1.82. I would think this is simply a typo... and should read GetVar()... I even didn't notice before you mentioned it Thomas | |
Vladimir Iahnenco | Re: HTML3 AssignVar() method on Tue, 09 May 2006 09:26:09 -0400 Thomas, Thanks, just noticed I made a typo, I meant GetVar() AssignVar method I found from classDescribe() method in waa v1.82 AsssignVar and GetVar are not the same. AssignVar set a new name/value pair in the received array of variables, SetVar add a new one to the array (html source) to be sent. Regards, Vladimir "Thomas Braun" <spam@software-braun.de> wrote in message news:114n5rhv2n0fp.18yn5zj9ub0vp$.dlg@40tude.net... > > Hi Phil, > > welcome back > >> GetVar fetches a CGI variable from waa1gate. >> SetVar sets a dummy CGI variable (I believe) >> AssignVar is an alias of SetVar. >> >> GetVal - unknown, is it in waa v1.90? It's not in 1.82. > > I would think this is simply a typo... and should read GetVar()... I even > didn't notice before you mentioned it > > Thomas | |
Phil Ide | Re: HTML3 AssignVar() method on Tue, 09 May 2006 20:10:58 +0100 Vladimir, > Thanks, just noticed I made a typo, I meant GetVar() > AssignVar method I found from classDescribe() method in waa v1.82 > AsssignVar and GetVar are not the same. AssignVar set a new name/value pair > in the received array of variables, SetVar add a new one to the array (html > source) to be sent. That would be very useful when cross-calling form-functions. However, since I use xbHCL, I can do this independant of WAA via the EVAR command (and of course that works with Xb2.NET as well). Still, another set of notes to make about WAA - thanks Regards, Phil Ide *************************************** * Xbase++ FAQ, Libraries and Sources: * * goto: http://www.idep.org.uk/xbase * *************************************** If I decide to hold a double execution of the hero and an underling who failed or betrayed me, I will see to it that the hero is scheduled to go first. [Things I'd do as an Evil Overlord] |