Subject | RE: [ib-support] Arrays |
---|---|
Author | Tobias Giesen |
Post date | 2002-08-31T14:06:15Z |
Martjn:
I use arrays mostly for storing preference/configuration types of data.
For example, you could use an array to store the configuration of say up
to 10 different currencies that your software would support (JUST AN
EXAMPLE).
In any case I only use small arrays and usually read & write them in
their entirety. IBO does a nice job because it automatically maps the IB
array into a Delphi variant array.
Of course you can't use them in triggers, so that's a huge limitation.
Cheers,
Tobias
> For example, you cannot SELECT a single itemOh yes you can.
> from an array.
I use arrays mostly for storing preference/configuration types of data.
For example, you could use an array to store the configuration of say up
to 10 different currencies that your software would support (JUST AN
EXAMPLE).
In any case I only use small arrays and usually read & write them in
their entirety. IBO does a nice job because it automatically maps the IB
array into a Delphi variant array.
Of course you can't use them in triggers, so that's a huge limitation.
Cheers,
Tobias