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

Reply via email to