Setvirtualresolution(640,480)
ResetTimer()
//Show Current Folder and Files
count=0
Print("Current Folder: "+GetFolder())
Render()
fn$=GetFirstFile()
while fn$<>""
Print(Spaces(2)+fn$)
Inc count
fn$=GetNextFile()
endwhile
Print("Total Number of Files: "+Str(count,0))
Sync()
Repeat
Until Timer()>20
End
Help make AGK better by submitting an example for this command! (All examples are subject to approval)
Setvirtualresolution(640,480) ResetTimer() //Show Current Folder and Files count=0 Print("Current Folder: "+GetFolder()) Render() fn$=GetFirstFile() while fn$<>"" Print(Spaces(2)+fn$) Inc count fn$=GetNextFile() endwhile Print("Total Number of Files: "+Str(count,0)) Sync() Repeat Until Timer()>20 End