Thanks much.  The lab could be improved by making one
of the later examples (probably the sn class) contain
2 or more classes inside one file.  One file per class
adds tedium to OOP, and I'm glad no such restriction
exists.

> can define multiple
> classes in one file.
> 
> And, cocurrent'base' takes you out of class
> definition mode.
> 
> For example
> 
> coclass 'class1'
> methodA=: ...
> 
> coclass 'class2'
> methodB=: ...
> cocurrent 'base'
> nonClassFn=: ...


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to