Hey all, Python objects can have things "in" them:
foo["x"] = "in" ... and it can also have things "on" them: foo.x = "on" I noticed lua treats these as the same thing and got curious about the distinction in IMCC. Coding it this way seems to work, but I'm not sure I really understood the docs, so I'm just double checking. Do I have the semantics right here? ## in_vs_on.imc ############### P0 = new PerlHash P1 = new PerlString ## foo["x"] = "in" P0["x"] = "in" ## foo.x = "on" P1 = "on" setprop P0, "x", P1 S1 = P0["x"] print S1 # foo["x"] print " vs " getprop P2, "x", P0 print P2 # foo.x print "\n" end ## outputs: "in vs on\n" ###### And in the PMC vtable, it maps this way: in = get_*_keyed, set_*_keyed, delete_keyed_* on = getprop / setprop / delprop Is that right? ( Any reason it's not del_*_keyed? :) ) Sincerely, Michal J Wallace Sabren Enterprises, Inc. ------------------------------------- contact: [EMAIL PROTECTED] hosting: http://www.cornerhost.com/ my site: http://www.withoutane.com/ --------------------------------------