Hello Ted, > Here's something else that I find confusing: > > >> list: [ 1 2 3 4 ] > == [ 1 2 3 4 ] > >> list2: next list > == [ 2 3 4 ] > >> clear list > == [] > >> list2: > == [ 2 3 4 ] > >> next list2: > ** Script Error: Out of Range or Past End > > About every other operation I try with list2 errors. Exceptions > are that I can assign it to another variable and print it. Suddenly I remembered, list2 is nothing more than the location of 'next list, so the printing thing I can't explain, but take a look at this: >> pnt1: [1 2 3 4 5] == [1 2 3 4 5] >> pnt2: next pnt1 == [2 3 4 5] >> replace pnt1 4 6 == [1 2 3 6 5] >> print pnt2 2 3 6 5 See? I guess you have to use 'copy to be sure. Regards, Rachid
- [REBOL] RFF: empty? for blocks Re: 70740 . 503
- [REBOL] RFF: empty? for blocks Re: KGD03011
- [REBOL] RFF: empty? for blocks Re:(2) news . ted
- [REBOL] RFF: empty? for blocks Re:(3) icimjs
- [REBOL] RFF: empty? for blocks Re:(4) news . ted
- [REBOL] RFF: empty? for blocks Re:(5) rryost
- [REBOL] RFF: empty? for blocks Re:(... news . ted
- [REBOL] RFF: empty? for blocks Re:(3) larry
- [REBOL] RFF: empty? for blocks Re:(4) mailinglists
- [REBOL] RFF: empty? for blocks Re:(4) news . ted
- [REBOL] RFF: empty? for blocks Re:(5) rryost
- [REBOL] RFF: empty? for blocks Re:(... news . ted
- [REBOL] RFF: empty? for blocks Re:(2) robert . muench
- [REBOL] RFF: empty? for blocks Re:(3) Petr . Krenzelok
- [REBOL] RFF: empty? for blocks Re:(2) mailinglists
- [REBOL] RFF: empty? for blocks Re: KGD03011
