opendir() - Is there a filename cap ?

Bob Stockler bob at trebor.iglou.com
Sat Nov 12 10:04:21 PST 2005


Ken Brody wrote (on Sat, Nov 12, 2005 at 12:32:58PM -0500):

| Quoting Fairlight (Sat, 12 Nov 2005 06:23:14 -0500):
| [...]
| > I have a "silly" question, John.  The other day, you made the assertion
| > that one need never use nextdir() again--ever.  That was if one uses the
| > @arrays feature.
| >
| > Is that a special array to fP?  Because fP's arrays in general are
| > documented to being a maximum of 999 elements, are they not?  (Last
| > time I checked with an fP developer, I was told they were.)
| 
| It's 32767, not 999.

So @DIRLIST[] could have 32768 elements since, unlike arrays
_we_ can dimension, these arrays maintained by filePro all
begin with an element "0" ?

Bob

| ==========
| ::end:
| ::dim bigarray[32767](6,.0):
| @entsel::show "\{T}-Test bigarray":
| ::end:
| @keyT::xx(6,.0) = "1" ; sz(6,.0) = "32767":
| loop:xx le sz:bigarray[xx] = xx ; xx = xx + "1" ; goto loop:
| ::xx = "1":
| loop2:mod(xx,"1000") = "0":show popup xx & bigarray[xx] ; video sync:
| :xx ne bigarray[xx]:errorbox xx < "is not" < bigarray[xx] ; end:
| :xx lt sz:xx = xx + "1" ; goto loop2:
| ::clears:
| ::end:
| ==========
| 
| [...]
| 
| --
| KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
| http://www.hvcomputer.com
| http://www.fileProPlus.com
| _______________________________________________
| Filepro-list mailing list
| Filepro-list at lists.celestial.com
| http://mailman.celestial.com/mailman/listinfo/filepro-list

-- 
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