Click here to Skip to main content
15,913,944 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: VB haters, look away Pin
PIEBALDconsult2-Aug-17 9:07
mvePIEBALDconsult2-Aug-17 9:07 
GeneralRe: VB haters, look away Pin
CodeWraith2-Aug-17 9:42
CodeWraith2-Aug-17 9:42 
GeneralRe: VB haters, look away Pin
PIEBALDconsult2-Aug-17 13:47
mvePIEBALDconsult2-Aug-17 13:47 
GeneralRe: VB haters, look away Pin
CodeWraith2-Aug-17 21:40
CodeWraith2-Aug-17 21:40 
GeneralRe: VB haters, look away Pin
PIEBALDconsult3-Aug-17 3:10
mvePIEBALDconsult3-Aug-17 3:10 
GeneralRe: VB haters, look away Pin
CodeWraith3-Aug-17 3:20
CodeWraith3-Aug-17 3:20 
GeneralRe: VB haters, look away Pin
PIEBALDconsult3-Aug-17 15:57
mvePIEBALDconsult3-Aug-17 15:57 
GeneralRe: VB haters, look away Pin
CodeWraith3-Aug-17 19:33
CodeWraith3-Aug-17 19:33 
DIM X(5)


n=5, so our array now should have six elements, indexed 0 - 5. Strange way of sying that you want six eggs, but ok. At least we use the same value to dimension the array and the highest valid index. In the end it is a just a question of specifications and conventions. However, the original problem was at the beginning of the array. Of course we could access the array with 1 - 6, but that would be even more confusing.

So, where do you think the habit to dimension the arrays one element too large, accessing them with 1 to n and wasting element 0 came into play?
I need a perfect, to the point answer as I am not aware of this.
Please don't reply explaining what method overloading is

GeneralRe: VB haters, look away Pin
PIEBALDconsult4-Aug-17 3:14
mvePIEBALDconsult4-Aug-17 3:14 
GeneralRe: VB haters, look away Pin
BillWoodruff2-Aug-17 22:01
professionalBillWoodruff2-Aug-17 22:01 
GeneralRe: VB haters, look away Pin
PIEBALDconsult3-Aug-17 15:57
mvePIEBALDconsult3-Aug-17 15:57 
GeneralRe: VB haters, look away Pin
kalberts2-Aug-17 22:36
kalberts2-Aug-17 22:36 
GeneralRe: VB haters, look away Pin
PIEBALDconsult3-Aug-17 3:11
mvePIEBALDconsult3-Aug-17 3:11 
GeneralRe: VB haters, look away Pin
jschell3-Aug-17 6:18
jschell3-Aug-17 6:18 
GeneralRe: VB haters, look away Pin
kalberts3-Aug-17 21:28
kalberts3-Aug-17 21:28 
GeneralRe: VB haters, look away Pin
jschell3-Aug-17 6:15
jschell3-Aug-17 6:15 
GeneralRe: VB haters, look away Pin
PIEBALDconsult3-Aug-17 16:03
mvePIEBALDconsult3-Aug-17 16:03 
GeneralRe: VB haters, look away Pin
Chris Losinger2-Aug-17 6:58
professionalChris Losinger2-Aug-17 6:58 
GeneralRe: VB haters, look away Pin
CodeWraith2-Aug-17 7:15
CodeWraith2-Aug-17 7:15 
GeneralRe: VB haters, look away Pin
PIEBALDconsult2-Aug-17 9:08
mvePIEBALDconsult2-Aug-17 9:08 
GeneralRe: VB haters, look away Pin
  Forogar  2-Aug-17 9:22
professional  Forogar  2-Aug-17 9:22 
GeneralRe: VB haters, look away Pin
CodeWraith2-Aug-17 10:24
CodeWraith2-Aug-17 10:24 
GeneralRe: VB haters, look away Pin
Richard Deeming2-Aug-17 10:06
mveRichard Deeming2-Aug-17 10:06 
GeneralRe: VB haters, look away Pin
hooodaticus3-Aug-17 4:35
hooodaticus3-Aug-17 4:35 
GeneralRe: Delphi PinPopular
peterkmx2-Aug-17 5:55
professionalpeterkmx2-Aug-17 5:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.