Dim arrays & mapping fields
Butch Ammon
butch at rich.srcoils.com
Thu Jul 29 05:24:28 PDT 2004
Good morning.
"Butch" Ammon from Super Radiator Coils here.... I'm still around, but usually
lurking in the background.
Anyway, I have a question about DIM arrays and how filePro "sees" the array as a
group of fields.
#1) Do the fields all have to be in sequential order?
EXAMPLE:
(10) A1)material1 10, allup
(11) A1)material2 10, allup
(12) A1)material3 10, allup
(13) A1)material4 10, allup
(14) A1)material5 10, allup
The above example is fine, as there are 5 fields in the associated field A1.
But, what happens if, 45 fields down in the key/data I realize "Oops, I needed 5
more fields for material.
EXAMPLE again:
(45) A1)material6 10, allup
(46) A1)material7 10, allup
(47) A1)material8 10, allup
(48) A1)material9 10, allup
(49) A1)material10 10, allup
When defining the DIM array, will filePro "see" all 10 fields now, even if they
are not in sequential order?
i.e. DIM material[10]:10
I might be wrong, I might be a complete moron, but to me, the above statement
says to lay out a DIM array starting at field 10 for a group of 10 fields.
Long story short and main question: Does a DIM array absolutely have to be in
sequential order when mapping fields?
Thank you for any help/guidance/psychiatric counseling/etc...
Butch Ammon
Super Radiator Coils
Richmond, VA
More information about the Filepro-list
mailing list