opendir() and @dirlist()

Bob Stockler bob at trebor.iglou.com
Mon Nov 14 17:38:54 PST 2005


John Esak wrote (on Mon, Nov 14, 2005 at 06:56:23PM -0500):

| Enrique,
| You are right. There is absolutely something wrong going on when @dirlist
| hits a filename longer thatn 32 characters. It appears to just not inlude
| it.
| 
| I put the following into /tmp.
| 
| 
|      kkkow
|      kkk123456789012345678901234567890fred
|      kkkowwww
|      kkkhello
| 
| then I did an    openddir("kkk*","/tmp/")
| 
| And @dirlist elements 0,1,2.3 are filled with
| 
| kkkow
| kkkowww
| kkkhello
| 
| The filename greater than 32 characters is just ignored.

The probable explanation being that these Directory-Reading
thingies were meant for reading filePro File names (maximum
length = 32) and info about the files in their directories.

Bob

-- 
Bob Stockler  +-+  bob at trebor.iglou.com  +-+  http://members.iglou.com/trebor
Author: MENU EDIT II - The BEST Creator/Editor/Manager for filePro User Menus.
Fully functional (time-limited) demos available by email request (specify OS).


More information about the Filepro-list mailing list