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

[REBOL] Bug! path! in objects don't behave the same as path! outside object

From: al::bri::xtra::co::nz at: 25-Sep-2000 12:29

Bug! path! in objects don't behave the same as path! outside object. REBOL/View 0.10.34.3.1 23-Sep-2000 Copyright 2000 REBOL Technologies. All rights reserved.
>> base: make object! [
[ p: does [print "function 'p in 'base"] [ ]
>> derived: make object! [
[ p: first [base/p] [ ]
>> p: first [base/p]
== base/p
>> p
function 'p in 'base
>> :p
== base/p
>> base/p
function 'p in 'base
>> derived/p
== base/p The above is incorrect, I believe. The result of the above should be the result of base/p: function 'p in 'base _not_ the path: base/p Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/ http://members.xoom.com/AndrewMartin/