Jimbo99999
asked on
VB.net One-Dimensional Array
Good Day
Experts:
Here is what I am using...I think the proper reference is to call it a One Dimensional array.
Dim sSportString() As String = {"Baseball.sql, Football.sql, Basketball.sql, Hockey.sql,"}
How can I use this same reference but add another line to it so all off it stays in the viewable screen?
Maybe add HorseRacing.sql and Soccer.sql to the list.
Thanks,
jimbo99999
Experts:
Here is what I am using...I think the proper reference is to call it a One Dimensional array.
Dim sSportString() As String = {"Baseball.sql, Football.sql, Basketball.sql, Hockey.sql,"}
How can I use this same reference but add another line to it so all off it stays in the viewable screen?
Maybe add HorseRacing.sql and Soccer.sql to the list.
Thanks,
jimbo99999
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The underscore is a line continuation character, so that you can break long lines to keep them visible on the screen.
ASKER
I meant...
Really...so I could do it like this then? If so, that would be great.
Dim sSportString() As String = { "Baseball.sql, Football.sql, _
Basketball.sql, Hockey.sql"}
jimbo99999
Really...so I could do it like this then? If so, that would be great.
Dim sSportString() As String = { "Baseball.sql, Football.sql, _
Basketball.sql, Hockey.sql"}
jimbo99999
That won't work, but this will:
Dim sSportString() As String = { "Baseball.sql, Football.sql," &_
" Basketball.sql, Hockey.sql"}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Dim sSportString() As String = { "Baseball.sql, Football.sql, _
Basketball.sql, Hockey.sql,"}
jimbo99999