Re: newbee need help with code
From: Herfried K. Wagner [MVP] (hirf-spam-me-here_at_gmx.at)
Date: 01/31/05
- Next message: Cor Ligthert: "Re: newbee need help with code"
- Previous message: Sakharam Phapale: "How to add new word in Microsoft Dictionary using Word object"
- In reply to: Cor Ligthert: "Re: newbee need help with code"
- Next in thread: Cor Ligthert: "Re: newbee need help with code"
- Reply: Cor Ligthert: "Re: newbee need help with code"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 31 Jan 2005 11:55:23 +0100
"Cor Ligthert" <notmyfirstname@planet.nl> schrieb:
> Because of probably compatible reasons does the array in VBNet create two
> types arays in one.
> One that fits the zero (C language compatible) indexer commands
> One that fits the one (VB language compatible) indexer commands.
>
> Therefore there is always created one item extra than you want. That is
> why people like me (and probably Herfried) create arrays with indexes that
> are forever -1 and start always with zero.
VB does /not/ support 1-based arrays. It only supports 0-based arrays, but
/collections/ are 1-based.
-- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
- Next message: Cor Ligthert: "Re: newbee need help with code"
- Previous message: Sakharam Phapale: "How to add new word in Microsoft Dictionary using Word object"
- In reply to: Cor Ligthert: "Re: newbee need help with code"
- Next in thread: Cor Ligthert: "Re: newbee need help with code"
- Reply: Cor Ligthert: "Re: newbee need help with code"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|