It dawned on my why this is not working....
Array Scan g_Files(), = "!", To lResult
g_Files contains a list of files and that file is indeed in that list...
As c:\foldername\!
The file is used as a license file, LZH used to employ this technique.
So I don't want to remove directory names from the file list simply because the files might not all be in the same directory and I don't want to have another array for directories....
Anybody see a workaround here short of doing this:
For x = 1 to 10
if Right$(g_Files(x),1) = "!" Then LicenseFlag = %TRUE
Next
------------------
Scott
mailto:[email protected][email protected]</A>
Array Scan g_Files(), = "!", To lResult
g_Files contains a list of files and that file is indeed in that list...
As c:\foldername\!
The file is used as a license file, LZH used to employ this technique.
So I don't want to remove directory names from the file list simply because the files might not all be in the same directory and I don't want to have another array for directories....
Anybody see a workaround here short of doing this:
For x = 1 to 10
if Right$(g_Files(x),1) = "!" Then LicenseFlag = %TRUE
Next
------------------
Scott
mailto:[email protected][email protected]</A>
Comment