Other method is declaring temporary local variables for enumerators
and forbid using normal MEMVAR/STAATIC/LOCAL variables so the code
will look like:

  proc p( aCountry )
     for each aI in aCountry  // aI is temporary local variable
                              // allocated automatically by compiler
        ? aI
     next
  return

I think it's better to have it declared manually.

Brgds,
Viktor

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to