On 03/07/2012 08:22 AM, gene heskett wrote: >> > See my previous msg Karl, I believe I have it working. But its too cold in > the shop to expect vactra to act warm enough for the feedrates, so all I am > doing ATM is cutting virtual air. ;) > > Thanks. > > As for this problem, from the clues I'm picking up here, if a global > variable is created/adjusted inside of an onumber while, its gone when the > corresponding onumber endwhile is finished. That is the only conclusion I > can come to that fits the observed results. > > IMO, if its defined globally, as in #<_name>, even if its inside a > "while/endwhile" then it s/b globally usable. Such seems not to be the > case. So it seems to be at odds with the docs in this regard. Fixing > that, could even fix the exit crashing I'm getting maybe? As in a screwed > up stack? > > Cheers, Gene >
Gene, How are you returning the value of the global variable after you exit the loop? Perhaps you need an assignment statement prior to the exit of the loop to ensure you are returning the value you want? Crazy things can happen inside those things to global variables. mark ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
