On Friday 17 August 2007, Jeff Epler wrote:

>Subroutine "locals" are #1 through #30 inclusive.  #31 through #5000 are
>for global use, because they're neither modified by "O- call" nor
>restored by "O- endsub".  Above #5000 is reserved for internal interpreter
> stuff, like the result of a G38.2 probe, the origin of the coordinate
> systems, and so on.
>
>Jeff
>[1] at least, they're supposed to be, but this bug has been reported:
>http://sourceforge.net/tracker/index.php?func=detail&aid=1772411&group_id=67
>44&atid=106744

Which I expect explains why I had trouble, and had to put one do/while in the 
main code and one in the subroutine recently.  Had I used main vars 31 and 
above, passing those to the sub and using #1 thru x in the subs, it might 
have been good.  But I didn't grok that detail till you started the most 
recent lecture series.  Old dogs & new tricks & all that...

Keep up the good work, I'm learning new stuff all along here.

Thanks Jeff.

-- 
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)
Curiosity killed the cat, but satisfaction brought her back.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to