Here is the way I am currently doing it: SymbolExist=: 3 : 0 (0 s: 0)~:(5 s: _6 s: i.0 s: 0)i.<y )
But it's kind of slow... Any improvements ? -----Original Message----- From: Paul Gauthier [mailto:[EMAIL PROTECTED] Sent: Friday, September 28, 2007 1:32 PM To: 'Programming forum' Subject: RE: [Jprogramming] Symbol exist ? Thank you to R.E. Boss and Raul for your answers on pairs. I have another problem to resolve: How can I know is a potential new symbol exist without creating it as a symbol ? Something like: 0 s: 0 123 SymbolExist '`some unexisting symbol' 0 0 s: 0 123 So now I know this symbol does not exist and it was not created. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
