Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Looping Statements
Message
De
16/10/2000 11:42:26
 
 
À
14/10/2000 03:25:34
Lawrence De Grano
Computer Craft Corporation
Makati, Philippines
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00429495
Message ID:
00429776
Vues:
15
>Can I ask for some techniques on how make a procedure which will Scan a certain file which when the last record is encountered, it will go back to top. ... Can I also have the right command on how to exit the loop. Would you kindly help me with this problem. Thank you very much!

Something like:
do while .T.
    doevents()
    if lastkey() = 32
         exit
    else
         if eof()
               goto top
         else
               skip
         endif
    endif
enddo
?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform