Click here to Skip to main content
15,886,919 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: Say it ain't true! Pin
Nelek21-Jul-23 5:02
protectorNelek21-Jul-23 5:02 
GeneralRe: Say it ain't true! Pin
trønderen20-Jul-23 13:09
trønderen20-Jul-23 13:09 
GeneralRe: Say it ain't true! Pin
Marc Clifton20-Jul-23 9:40
mvaMarc Clifton20-Jul-23 9:40 
JokeRe: Say it ain't true! Pin
Richard Deeming20-Jul-23 21:30
mveRichard Deeming20-Jul-23 21:30 
GeneralRe: Say it ain't true! Pin
ChandraRam20-Jul-23 23:21
ChandraRam20-Jul-23 23:21 
GeneralRe: Say it ain't true! Pin
Richard Deeming20-Jul-23 23:40
mveRichard Deeming20-Jul-23 23:40 
GeneralRe: Say it ain't true! Pin
ChandraRam20-Jul-23 23:44
ChandraRam20-Jul-23 23:44 
GeneralRe: Say it ain't true! Pin
Richard Deeming21-Jul-23 0:04
mveRichard Deeming21-Jul-23 0:04 
They are now; but VB.NET still declares arrays by specifying the upper bound, rather than the length, because of the legacy syntax. Smile | :)
VB.NET
' Declare a single-dimension array of 5 numbers.
Dim numbers(4) As Integer
In VB6 and earlier, you could use:
VB6
Dim numbers(1 To 42)
which would create an array with 1-based indices.

The lower bound was optional, and the default could be changed by using the Option Base setting, leading to confusing code with hard to find bugs.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

GeneralRe: Say it ain't true! Pin
ChandraRam21-Jul-23 0:10
ChandraRam21-Jul-23 0:10 
GeneralRe: Say it ain't true! Pin
trønderen21-Jul-23 6:19
trønderen21-Jul-23 6:19 
GeneralRe: Say it ain't true! Pin
RickZeeland20-Jul-23 9:51
mveRickZeeland20-Jul-23 9:51 
GeneralRe: Say it ain't true! Pin
Gary Wheeler21-Jul-23 6:57
Gary Wheeler21-Jul-23 6:57 
GeneralRe: Say it ain't true! Pin
Mike Hankey20-Jul-23 10:33
mveMike Hankey20-Jul-23 10:33 
GeneralRe: Say it ain't true! Pin
trønderen20-Jul-23 13:29
trønderen20-Jul-23 13:29 
GeneralRe: Say it ain't true! Pin
Mike Hankey20-Jul-23 13:37
mveMike Hankey20-Jul-23 13:37 
GeneralRe: Say it ain't true! Pin
trønderen20-Jul-23 13:27
trønderen20-Jul-23 13:27 
GeneralRe: Say it ain't true! Pin
Amarnath S20-Jul-23 14:12
professionalAmarnath S20-Jul-23 14:12 
GeneralRe: Say it ain't true! Pin
CPallini20-Jul-23 19:58
mveCPallini20-Jul-23 19:58 
GeneralRe: Say it ain't true! Pin
Johnny J.20-Jul-23 23:04
professionalJohnny J.20-Jul-23 23:04 
GeneralRe: Say it ain't true! Pin
BernardIE531721-Jul-23 1:39
BernardIE531721-Jul-23 1:39 
GeneralRe: Say it ain't true! Pin
Roger Wright21-Jul-23 17:12
professionalRoger Wright21-Jul-23 17:12 
GeneralRe: Say it ain't true! Pin
PIEBALDconsult22-Jul-23 4:24
mvePIEBALDconsult22-Jul-23 4:24 
GeneralBuilding My Next Clone Pin
C-P-User-320-Jul-23 6:55
C-P-User-320-Jul-23 6:55 
JokeRe: Building My Next Clone Pin
Daniel Pfeffer20-Jul-23 8:37
professionalDaniel Pfeffer20-Jul-23 8:37 
GeneralRe: Building My Next Clone Pin
Jeremy Falcon20-Jul-23 8:45
professionalJeremy Falcon20-Jul-23 8:45 

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.