| 
         | 
    ||
        
  | 
    
On 2/25/2013 7:24 AM, Mark Gabby wrote:
I used it in a loop to skip to the next element in several places
in my 5.2 project:
     for filename in keys( all_filenames ) do
         if file_failed_to_open[filename] then
             goto nextfile
         end
[snip snip]
Thanks for the very readable examples. Thinking back to 5.1 code I've written, it looks like goto can eliminate flag variables often used to select success/fail code paths...
-- Cheers, Kein-Hong Man (esq.) Kuala Lumpur, Malaysia