I cannot duplicate your problem.

perhaps you forgot to switch to another locale before create
obj, try

cocurrent 'base'
obj =: conew 'Myclass'


Ср, 04 июн 2014, Jon Hough написал(а):
> Sorry, I didnt explain very well.
> 
> obj =: conew 'Myclass'
> 
> create__obj 0
> 
> 
> This is ok, but
> movex__obj 2
> 
> Gives a value error.
> 
> --- Original Message ---
> 
> From: "bill lam" <[email protected]>
> Sent: June 4, 2014 2:30 PM
> To: [email protected]
> Subject: Re: [Jprogramming] J class error
> 
> Without knowing what your is obj, it is difficult to guess, you
> should provide enough information.
> 
> Anyways create will be called by conew, users seldom need to
> call it directly.
> 
> Ср, 04 июн 2014, Jon Hough написал(а):
> > This is my class def:
> >
> > coclass 'Myclass'
> >
> > create=: verb define
> > px=: 0
> > )
> > movex=: verb define
> > px =:y
> > )
> >
> > However, when I create an instance , I can call create__obj no problem, but 
> > always
> > movex__obj 2
> >
> > Gives me a value error (for any y argument). This seems to indicate my 
> > movex function has a problem, but I cannot find any errors.
> >
> > Any help appreciated.
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> 
> --
> regards,
> ====================================================
> GPG key 1024D/4434BAB3 2008-08-24
> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
> gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to