filepro....opendir & nextdir
Fairlight
fairlite at fairlite.com
Fri Nov 4 10:02:54 PST 2005
Only Enrique Arredondo would say something like:
> Hi y'all,
>
> Do you know why does nextdir() doesn't show me the filename the way it is?
>
> Here's a listing of my folder:
>
> -rw-rw-rw- 1 root sys 19438 Nov 3 10:18
> tnaile-ford256-15-a22-1.jpg
>
> and when I display the contents of nextdir() is shows:
>
> tnaile-ford256-15-a22-1 jpg 19,438 11/03/2005
> 01:18:14p
> tnaile-ford256-15-a22-1.jpg
>
> Is there a way to tell nextdir() to show just the name ?
When I looked at it, it stores a string with all the into an array, and you
could access the name alone from that array via offset within the element.
The problem is, at least when I looked at it, there was a finite (and far
too short) fixed-width cast on the filename fields in the array. I believe
it was extended -some-, but it did not match anything -close- to MAXPATHLEN
that most systems would have.
Looking at Laura's help files on the system I'm currently logged into, both
copies of the filename are limited to 32 characters. I believe the last
copy was extended some, but I could be wrong. John may remember talking to
Ken about it directly, and Ken almost certainly knows. :)
mark->
--
There is no "I" in TEAM.
This would be the primary reason I've chosen not to join one.
More information about the Filepro-list
mailing list