ĵaŭ, 18 Mar 2010, David Ward Lambert skribis:
> When I run my dog I count critters.  I can identify some of them.  And
> so developed a taxonomy counter  in python.  Incrementing one of these
> objects also  increments all those above  it.  Thus if we  find a frog
> I'd increment the animal object;  on finding a skunk we'd go elsewhere
> before incrementing "mammal".  Home again I'd read 2 animal, 1 mammal,
> 0 all else.   I suppose I used a registration  technique in the python
> object initializer.  Solutions in j please?

s/python/j/

more seriously, J programming forum used to discuss real, concrete
problems.

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

Reply via email to