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

[REBOL] save bug Re:

From: al:bri:xtra at: 16-Sep-2000 10:18

> So the basic bug is that if you save the same exact object to a file
twice, the second time it doesn't work. Notice that if you alter the state of the object (such as set m to something else), and then save it, it will be saved correctly. It seems to work correctly for me. I can't duplicate your bug at all. Have you tried restarting Rebol? You may have accidentally redefined a important Rebol word. REBOL/View 0.10.33.3.1 10-Sep-2000 Copyright 2000 REBOL Technologies. All rights reserved.
>> obj: make object! [
[ f: "field" ]
>> save %shoot.txt obj >> print read %shoot.txt
make object! [ f: "field" ]
>> save %shoot.txt obj >> print read %shoot.txt
make object! [ f: "field" ]
>> save %shoot.txt obj >> print read %shoot.txt
make object! [ f: "field" ]
>> >> save %shoot.txt obj >> save %shoot.txt obj >> print read %shoot.txt
make object! [ f: "field" ] Andrew Martin ICQ: 26227169 http://members.ncbi.com/AndrewMartin/ http://members.xoom.com/AndrewMartin/