On Wednesday 26 December 2007, Kenneth Lerman wrote:
>Subroutines may CALL one another, but may not be defined within another.
>
>So...
>
>o100 sub
>....
>o100 endsub
>
>o200 sub
>....
>o200 endsub
>
>is legal.
>
>
>o100 sub
>o200 sub
>...
>o200 endsub
>o100 endsub
>
>is NOT legal (subroutine declarations may not be nested).
>
>Ken

Many thanks Kenneth, that not so subtle difference also escaped me when I last 
attempted that.

But I did find that
o400 sub
call o100
call o200
o400 endsub

was apparently legal if you kept your variable numbers all separated properly.  
This part could stand some more emphasis in the wiki pages.  Like making it 
an SOP. :)

Thanks, and I hope Santa was good to all of you.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Satire does not look pretty upon a tombstone.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to