Subj : Re: was: chess, changed to WHICH To : Steve From : Rolf Jentsch Date : Fri Nov 23 2001 05:42 am From: email@rolfjentsch.de (Rolf Jentsch) ESFabian@BellAtlantic.net meinte am 22.11.01 zum Thema "Re: was: chess, changed to WHICH": > You and I interpret nesting level the same. Houwever, your example needs > a "quit" before the label ":a"! You're right, but an exit would have worked as well..... > You can use SETLOCAL/ENDLOCAL in the GOSUB body, giving you perfect > localization, but also restricitng the return of any information from > the subroutine to be done through the file system, or the very tenouos > "set /m" method (the result must be explicitly retrieved by the caller > using "%@master[]"). Sure, but thats not how I like recursion to be implemented. If local variables were local and just for the context they are used in this wouldn't be any problem at all. Unfortunatly Rex did not want to implement it this way.... - *wbr* Rolf - --- BBBS/NT v4.01 Flag-2 * Origin: Mach2 Systems (1:342/3) .