Sometimes for debugging I change a local assignment to a global
assignment so I can see the value.

When I do so, I add two spaces before the assignment as an
indicator.

Thus I would change

val =. a * b

to

val   =: a * b

or

VAL__   =: val =. a * b  NB. If the verb is in a locale other than base

Later, when debugging is over, I can then use Find In Files
to look for '  =:' and I will see only the debugging changes
that I need to set right.

Henry Rich

 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Markus Schmidt-Gröttrup
> Sent: Tuesday, September 16, 2008 10:15 AM
> To: Programming forum
> Subject: Re: [Jprogramming] Discovering the use of extern nouns
> 
> Thanks for the very helpful discussion,
> pointing to workflow and the development environment. 
> Esp. the project manager menu item "Global Assignments in 
> File" helped me right now to identify two problems within a 
> recent project. 
> 
> J is not just the language, but as well the environment and 
> the community. Great!
> 
> ----------------------------------------------------------------------
> 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