Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
13
Task/Unix-ls/Run-BASIC/unix-ls.basic
Normal file
13
Task/Unix-ls/Run-BASIC/unix-ls.basic
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
files #f, DefaultDir$ + "\*.*" ' RunBasic Default directory.. Can be any directroy
|
||||
print "rowcount: ";#f ROWCOUNT() ' how many rows in directory
|
||||
#f DATEFORMAT("mm/dd/yy") 'set format of file date or not
|
||||
#f TIMEFORMAT("hh:mm:ss") 'set format of file time or not
|
||||
count = #f rowcount()
|
||||
for i = 1 to count ' loop thru the row count
|
||||
print "info: ";#f nextfile$() ' file info
|
||||
print "name: ";#f NAME$() ' Name of file
|
||||
print "size: ";#f SIZE() ' size
|
||||
print "date: ";#f DATE$() ' date
|
||||
print "time: ";#f TIME$() ' time
|
||||
print "isdir: ";#f ISDIR() ' 1 = is a directory
|
||||
next
|
||||
Loading…
Add table
Add a link
Reference in a new issue