User Tools

Site Tools


en:dir

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:dir [2016/08/12 13:07]
admin
en:dir [2020/02/28 10:46]
Line 1: Line 1:
-===== Dir (Function) ===== 
- 
-==== Format ==== 
-**dir** ( )\\ 
-**dir** ( //folder_name// ) 
- 
-returns [[stringexpressions|string_expression]] 
- 
-==== Description ==== 
-Open a //folder// to retrieve the names the files or folders that are contained in it. 
- 
-==== Example ==== 
-<code> 
-f$ = dir("c:\") 
-while f$ <> "" 
-   print f$ 
-   f$ = dir() 
-end while 
-</code> 
-will display something like 
-<code> 
-$Recycle.Bin 
-autoexec.bat 
-Backup 
-Boot 
-bootmgr 
-Documents and Settings 
-IO.SYS 
-MSDOS.SYS 
-MSOCache 
-pagefile.sys 
-Program Files 
-ProgramData 
-System Volume Information 
-temp 
-Users 
-Windows 
-</code> 
- 
- 
-==== See Also ==== 
-{{page>en:start#File and Serial Port Input/Output&noheader}} 
- 
-==== History ====  
-|0.9.6.55|New to Version| 
- 
- 
- 
  
en/dir.txt ยท Last modified: 2020/02/28 10:46 (external edit)