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

[REBOL] Saving blocks?l

From: stefan::falk::slg::se at: 15-Mar-2001 16:32

Hi list, I'm having a slight problem here, I'll try to explain it. First, I have a file named user-db.r that contains info like this: REBOL [] user-db: [ User [ Name "John" Surname "Doe" E-Mail [john--doe--noone--com] ] ] etc. etc.. I read it into a script using user-db: do %user-db.r all fine, I edit some of the values (for example change the surname to Doh ). And then I want to save it, so I can read it in with do %user-db.r again. And here come the problem, when I save (using save/header) it, the user-db: [] block disappears. All I get is REBOL [] User [ Name "John" Surname "Doh" E-Mail [john--doe--noone--com] ] How should I save it so I get it in the original state? Thanks! /Regards Stefan