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

[REBOL] Antwort: Saving blocks question Re:(2)

From: brett:codeconscious at: 26-Sep-2000 22:45

Hi, I'm not sure if this helps you but you might like to look at the following four things: (1) -------------------------------------- http://www.rebol.com/library/script-cgi.html (2) --------------------------------------
>> help decode-cgi
USAGE: DECODE-CGI args DESCRIPTION: Converts CGI argument string to a list of words and value strings. DECODE-CGI is a function value. ARGUMENTS: args -- Starts at first argument word (Type: any-string) (3) --------------------------------------
>> help mold
USAGE: MOLD value DESCRIPTION: Converts a value to a REBOL-readable string. MOLD is a native value. ARGUMENTS: value -- The value to mold (Type: any) (4) -------------------------------------- Type HELP WRITE and look at the /append refinement ... If you want to a newly added block as a nested block inside the structure you have shown then the simplest way will be to read or load the whole file, do your insert and write it out again. Hope it helps Brett. ----- Original Message ----- From: <[Sharriff--Aina--med-iq--de]> To: <[list--rebol--com]> Sent: Tuesday, September 26, 2000 8:51 PM Subject: [REBOL] Antwort: Saving blocks question Re: ..the problem would be to parse from %some-cgi-script.r -----> value1="one" value2="two" the block that IŽll like to save ------> [ one: [ value "one" value "two" ] ] Sharriff Aina med.iq information & quality in healthcare AG Gutenbergstr. 42 41564 Kaarst tel.: 02131-3669-0 fax: 02131-3669-599 www.med-iq.de