opendir() - Is there a filename cap ?

Kenneth Brody kenbrody at bestweb.net
Sat Nov 12 09:32:58 PST 2005


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.

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


More information about the Filepro-list mailing list