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" <
programm...@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
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to