what -I- consider a bug in *cabe
Bob Stockler
bob at trebor.iglou.com
Mon Jun 4 08:17:57 PDT 2007
Mark Luljak wrote (on Sun, Jun 03, 2007 at 11:01:51PM -0400):
[snip]
| I heard 5.6 included a REDIM command, but I'm
| not sure how useful this would make them without looking at it in depth. I
| don't have enough people on 5.6 that I've needed to look yet; depending on
| something like REDIM or even nested CALLs is suicide for code portability.
[snip]
I can't find REDIM mentioned in any of the 5.6 filePro *.hlp files
I have, but dimensioning all arrays to 1000 (or whatever you think
might possibly be required at some point in the future) is a quite
inexpensive way to avoid ever needing a REDIM command.
Another point about dimensioning arrays: processing lines in which
they're dimensioned don't have to be encountered by the processing,
but only they appear on lines above where they're used. I usually
dimension all arrays at the top of my tables, where they're easy to
find to edit (if I guessed too low on the max number of elements).
Bob
--
Bob Stockler +-+ bob at trebor.iglou.com +-+ http://members.iglou.com/trebor
More information about the Filepro-list
mailing list