Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid subscript reference
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01173721
Message ID:
01173902
Views:
11
Nadja! I know You a long time so I try to answer

>>>Filer can not work with masks like *Letters*.jpg
>This is my test program (I commented the Filer part). Do you see, where I'm wrong?
>
>*!*	#define crlf CHR(13) + CHR(10)
>*!*	oMyFiler = CREATEOBJECT('Filer.FileUtil')
>*!*	oMyFiler.SearchPath = "t:\jpg"
>*!*	oMyFiler.FileExpression = '*e4*.jpg'
>*!*	oMyFiler.Find(0)
>*!*	=MESSAGEBOX(oMyFiler.Files.Count)
>*!*	_cliptext = ""
>*!*	FOR EACH loFile IN oMyFiler.Files
>*!*		_cliptext = _cliptext + loFile.Name + CRLF
>*!*	NEXT
You say that filer can't work with the mentioned mask.
I don't see it in your example. Never say that you haven't
tested as a final "true"...


What is purpose the next line?

>cliptext = _cliptext + loFile.Name + CRLF
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform