names__o'' COCREATOR c__o =. 2 names__o'' COCREATOR c names_a_'' b create destroy o erase_a_'b' 1 names_a_'' create destroy o erase__o'c' 1 names__o'' COCREATOR
2006/12/27, Yuvaraj Athur Raghuvir <[EMAIL PROTECTED]>:
Hello, After declaring a field in a class, is it possible to remove that from the class & instance at runtime? Context: Extract Superclass refactoring technique : http://www.refactoring.com/catalog/extractSuperclass.html NB. declaration coclass 'a' b =: 0 create =: cocreate destroy =: codestroy NB. runtime o =: conew 'a' NB. add new field into o c__o = 2 NB. remove field b from o & from 'a' . Here the idea is to create a super class as mentioned in the reference above ???? Regards, Yuva ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
-- Björn Helgason, Verkfræðingur Fugl&Fiskur ehf, Þerneyjarsund 23, Box 127 801 Grímsnes ,t-póst: [EMAIL PROTECTED] Skype: gosiminn, gsm: +3546985532 Landslags og skrúðgarðagerð, gröfuþjónusta http://groups.google.com/group/J-Programming Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans góður kennari getur stigið á tær án þess að glansinn fari af skónum /|_ .-----------------------------------. ,' .\ / | Með léttri lund verður | ,--' _,' | Dagurinn í dag | / / | Enn betri en gærdagurinn | ( -. | `-----------------------------------' | ) | (\_ _/) (`-. '--.) (='.'=) `. )----' (")_(")
---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
