##- # Author: Brian Tiffin # Dedicated to the public domain # # Date: October 2016 # Modified: 2016-10-12/02:13-0400 ##+ # # oprec.icn, reference to class method vector # link ximage class sample(a,b,c) method one(a) write("in method a: ", type(a), ":, ", a) end initially a := 1 b := 2 c := 3 write(a, ", ", b, ", ", c) end procedure main() c := sample(1,2,3) write(type(oprec(c))) write(ximage(oprec(c))) cmv := oprec(c) # too new to know what the first agrument is supposed to be # a self reference likely, not sure it that is the same as c cmv["initially"](c) cmv["one"](c,42) cmv["one"](c,"abc") cmv["one"](c) end