Quote:
> > I was once programming a rather large application and found that I could
> > get around the 64k problem with some limited success. I think that there is
> > some kind of command line switch that you can use. you type at the prompt
> > "qb /AH" or something like that and it allows you to have larger programs.
> Actually, this is not correct. The /AH command line option (which stands
> for Array Huge) allows you to dimension arrays that will hold more than
> 64k of data. Just thought I'd set the record straight.
Just to add a bit to what Jesse said.
The /AH option will allow arrays to be larger than 64k, but if one wants the
array to be able to go on past 128k the the array elements must be of a size
that is an even multiple of a power of 2 ie: 2,4,8,16 ... bytes.
It's no problem with straight numeric arrays ie: integer, single, double, etc.
as they meet the above criteria. But if it's a string array or a user defined
type then the string length or the total size of the user type must be an even
power of 2.
It can be a real waste of space if for example you need an array of 33 byte fixed
length strings. In a case like that you have to pad the strings to 64 bytes to
to meet the power of 2 requirement, so you waste 31 bytes for each string.
--
Bangor, Pa. USA