>Hi all... this may be a silly question, but what is the difference between using a FOR or a WHILE clause? Both are expressions that must evaluate to .T., so when should one be used over the other?
>TIA for your time.
FOR replaces ALL records that match the criteria, WHILE only replaces from the current record pointer up to the first record that does NOT match the criteria - it will ignore all subsequent records.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up