Hello Darin.
08 Apr 98 07:58, Darin McBride wrote to Mark Hoover:
MH>> Just out of curiosity.....is there anyway to set the array base to base
MH>> 1? I have no intention of doing this, but I know it can sometimes be
MH>> done in other languages such as Basic....
DM> Note that "other languages" cannot change either - in BASIC, it is ALWAYS
DM> 1-based, you can't "sometimes" have it one-based...
No, he was right. QuickBasic and QBasic have an OPTION BASE statement
that is used to set the base value for arrays. There are two possible
values for OPTION BASE, 0 or 1. The default is 0.
I know this is offtopic, OTOH, I'm sure you don't want to go around
giving out false information.
-Roger
--- Msged/2 4.10
---------------
* Origin: New Potato Caboose BBS, Upper Darby, PA, USA (1:273/404@fidonet)
|