Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: From "C" to Rebol:

From: tim:johnsons-web at: 1-Aug-2001 9:22

On Tue, Jul 31, 2001 at 04:55:36PM -0500, Joel Neely wrote:
> Hi, Tim, > > I'm not sure if I've missed the point on this one, but... > > Tim Johnson wrote: > .. > ... there's a mezzanine word that does essentially the same thing:
Hey Joe: Unfortunately, you caught me with a number of things on my plate today: So I can't give it the immediate attention that it deserves... but - 1)When I originally wrote this module, I was not able to make rebol's decode-cgi function decode that 'name part of the pair example results below: from >>cgi: make object! decode-cgi data-string print mold cgi ; I get: make object! [ required: {First Name;Last Name;Street address;State/Province;Country;Phone;E-mail;password;ccnum;expdate;Subscription Type;City;Zip/Postal Code} optional: "Fax;referred" First+Name: "Tim" Last+Name: "Johnson" Street+address: "P.O. Box 3341" City: "Palmer" State%2FProvince: "Alaska" Zip%2FPostal+Code: "99645" Country: "United States" Phone: "907.745.5392" Fax: "" E-mail: "[tim--johnsons-web--com]" password: "extra" referred: "" ccnum: 234190345908 expdate: "01022002" Subscription+Type: "Selection Required!" ] ;and you see that only the 'values are decoded. ; Perhaps I missed something here? ; For my purposes, the 'names must be decoded as well, thus the hand-rolled ; function ; BTW: However, I believe I see the solution for my original question in ; the mezzanine code: ;Let me know what you think: And thanks for your help with this thread regards tim