Navigation:  Macro > Instructions > Catalogue >

READ DIR

AiM Services
Previous pageReturn to chapter overviewNext page

READ DIR Nom$

Lecture de l'entrée courante du catalogue et pointage sur l'entrée suivante.
A la fin du catalogue l'instruction retourne une chaîne de caractères vide.
 

Exemple

 OPEN DIR "C:\Temp","*.par";Err
 LOOP
   READ DIR Fichier$
   TEXT LEN Fichier$;L
 EXIT IF L=0
   PRINT Fichier$
 END LOOP
 CLOSE DIR
 

Rubriques connexes
SORT DIR , OPEN DIR , GET DIR , REWIND DIR , SEEK DIR , CLOSE DIR