[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: SWIG and 0/1 based arrays
- From: Mark Hamburg <mark@...>
- Date: Sun, 10 Aug 2008 10:13:02 -0700
On Aug 7, 2008, at 7:41 AM, Joey Mukherjee wrote:
On Aug 7, 2008, at 1:12 AM, Mark Gossage wrote:
I have recently had to go back to programming VB.Net and I have
been discovering that VB.Net is 0 based where VB6 was 1 based, its
a pain I agree.
VB? Ooo, sorry to hear that! :-)
But I think VB makes the "interesting" compromise of making arrays big
enough to hold 1-based data.
Dim A[ 10 ]
creates an array with 11 elements indexed 0 through 10.