Microsoft KB Archive/113398

Project: Visual Basic, Applications Edition, Arrays Zero Based

PSS ID Number: Q113398 Article last modified on 04-06-1995

4.00 | 4.00

WINDOWS | MACINTOSH

= SUMMARY =

In Visual Basic, Applications Edition, arrays are zero based by default.

= WORKAROUND =

To force arrays to be one based, add the following line to the top of your module (before any procedures or functions):

Option Base 1

KBCategory: kbusage KBSubcategory:

= Additional reference words: 4.00 =

Copyright Microsoft Corporation 1995.