[Jprogramming] gl2.ijs and object constructor
bill lam
bbill.lam at gmail.com
Wed Sep 6 10:46:03 UTC 2017
gl2 addon is no longer needed in j806, it is kept there for back
compatibility. If any code actually depends on it, it must be something
wrong.
On Sep 6, 2017 4:38 PM, "'Jon Hough' via Programming" <
programming at jsoftware.com> wrote:
I was browsing the OpenGL addon, gl2.ijs, and in the first few lines is
this:
coclass 'jgl2'
create=: destroy=: [:
What does this do? And what is it achieving, and why is it desired? It
seems to prevent object instantiation:
A=: '' conew 'jgl2' NB. error
But what is the benefit of doing this? And why not just use a locale, i.e.
cocurrent 'jgl2' ?
Jon
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
More information about the Programming
mailing list