In article <t9icsl$1hk4t$1...@dont-email.me
>, Dallas <dal...@texas.usa> wrote:
> > So I nested 3 levels deep and came back out of each level as expected.
>I had no idea you could have internal subroutines like that.
>You can even use recursion.
>Thanks for the example!
Note that, in the olden days (COMMAND.COM
), you had to do this yourself -
brute force. I often coded it like:
if %1X==L10X goto L10
echo main routine - Now calling L10 routine...
echo here we are in L10 subroutinue...
I assume that the powers that be at MS noticed that people were doing this
sort of thing, so they codified it into the language (in CMD.EXE versions
of the batch language).
"He is exactly as they taught in KGB school: an egoist, a liar, but talented - he
knows the mind of the wrestling-loving, under-educated, authoritarian-admiring
white male populous."
- Malcolm Nance, p59. -