I have come across a situation where < try. B0 catch. B1 end. > appears to behave inappropriately.
If the rightmost element of B0 is an undefined name, the expected value error is not caught, but breaks the control structure with a syntax error. If, however, there is another element to the right of the undefined name, then the structure behaves as expected and B1 is executed. With J602 / Windows XP / Intel Pentium M, case0=: 3 : 'try. notdefined catch. ''breaks'' end.' case0 ‘’ |syntax error: case0 | case0'' case1=: 3 : 'try. 1+ notdefined catch. ''also breaks'' end.' case1 ‘’ |syntax error: case1 | case1'' case2=: 3 : 'try. notdefined +1 catch. ''but this works!'' end.' case2 '' but this works! Is this a bug? Or have I missed something ….. ? Jeff Mosmann No virus found in this outgoing message. Checked by AVG. Version: 7.5.519 / Virus Database: 269.23.3/1390 - Release Date: 2008-04-21 16:23 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
