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

[REBOL] parser for rebel player

From: inetw3:mindspring at: 9-Jul-2002 22:22

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.