Hi all,

Do we any facility to find out the maximum array / string
size on .prg level?

hb_StrLenLimit(), hb_ALimit(), or a dedicated hb_lim*()
set of functions. Like:

hb_limitGet( HB_LIMIT_STRINGMAXLEN ) = hb_limitStrLen()
hb_limitGet( HB_LIMIT_ARRAYMAXLEN ) = hb_limArrayLen()

this could later be extended to return min/max numeric
values for ints/doubles, file sizes, etc.

hb_limitGet( HB_LIMIT_INTMINVALUE )
hb_limitGet( HB_LIMIT_INTMAXVALUE )
...

The main point however is to somehow be able to get
the max array/string size, since these are better to be
checked at runtime, especially on 16 bit platforms.

Any opinions?

Brgds,
Viktor

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to