[REBOL] /only refinement for save
From: atruter:labyrinth:au at: 14-Aug-2003 11:36
I don't know if this has been raised before, but how does a /only
refinement (working the same as it does for mold) sound for save?
I often find I have to write:
write %file.dat mold/only blocks
where blocks contains zero or more blocks. This is due to the fact that
given:
b0: copy []
b1: copy [[1]]
b2: copy [[1][2]]
save %file.dat block-name will yield files containing:
[]
[[1]]
[1] [2]
respectively, where what we want is:
<0 byte file>
[1]
[1] [2]
Which allows load/all to address the blocks in a consistent manner.
Comments?
Regards,
Ashley