General information
Category:
Visual FoxPro and .NET
From Help file:
Places information about files into an array and then returns the number of files.
ADIR(ArrayName [, cFileSkeleton [, cAttribute [, nFlag]]])
3rd and 4th parameter probably unneeded in your case, as file won't be hidden or directory,
but explained in detail in help file
llFound = adir(laTmp, "*.doc")>0 && including pathname works as well as setting path
>set path to home(c:\global"
>
>if adir(*.doc)>0 fie is found
>ct=1
>endif
>
>if ct is 1 the file is found
>
>Am I correct
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only