Thanks alot Anton and Andrew, i was doing both
of your example but i did'nt  know i could wrap
some strings with " " and some with { },
and i i was putting the "newline" after the append.

I wish i could have found that in the RT docs or Rebol
Guide book.

----- Original Message -----
From: iNetW3 <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 09, 2002 10:22 PM
Subject: [REBOL] parser for rebel player


> Hello Reboler's
> I completed a GUI parser for a java rebelet player
> (the java+activeX rebelet players' made allready)
> and i would like to know if anyone could tell me
> how to format what i print out one tag or key = value per
> line to a string or block to save as a file.
> example:
> print {<REBEL_EMBEDLET VERSION=0.1>
> <PROPERTIES>}
> PRINT rejoin["SIZE=" getsize1 {,} getsize2]
> print {BACKCOLOR=142,128,110
> NOICONS=TRUE
> </PROPERTIES>} etc.
> Calling print works but i want to save to a file.
> I need:
> <REBELEMBEDLET VERSION=1.1>
> SIZE=200x100
> BACKCOLOR=142,128,110
> NOICONS=TRUE
> </PROPERTIES> etc.
> but:
> append myblock {<REBELEMBEDLET VERSION=1.1>
> <PROPERTIES>}
> append myblock rejoin["SIZE=" getsize1 {,} getsize2]
> append myblock {BACKCOLOR=142,128,110
> NOICONS=TRUE
> </PROPERTIES>} etc.
> gives me:
> <REBELEMBEDLET VERSION=1.1>SIZE=200x100
> BACKCOLOR=142,128,110NOICONS=TRUE </PROPERTIES> etc.
> any answeres are welcome.
>
>
> --
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the
> subject, without the quotes.
>


-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to