[REBOL] Re: Saving blocks?l
From: al:bri:xtra at: 16-Mar-2001 21:17
Stefan wrote:
> How should I save it so I get it in the original state?
; save the value refered to by the word 'user-db.
save %user-db.r user-db
; load the value saved from above and refer to it with the word 'user-db.
user-db: load %user-db.r
> user-db: [
> User [
> Name "John"
> Surname "Doe"
> E-Mail [john--doe--noone--com]
> ]
> ]
The above value is better as:
[
[Name Surname eMail]
"John" "Doe" [john--doe--noone--com]
]
as it saves space.
I hope that helps!
Andrew Martin
ICQ: 26227169 http://members.nbci.com/AndrewMartin/