Can I declare a two or more dimensional array in vbscript using one line declarations? For example, a one dimensional array can be declared like this: <br>
<br>
dim weekdays(6) = ("Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" <br>
(or something similar)<br>
<br>
as opposed to this:<br>
<br>
dim weekdays(6)<br>
weekdays(0) = "Monday"<br>
weekdays(1) = "Tuesday"<br>
weekdays(2) = "Wednesday"<br>
weekdays(3) = "Thursday"<br>
weekdays(4) = "Friday"<br>
weekdays(5) = "Saturday"<br>
weekdays(6) = "Sunday"<br>
<br>
Can this be done with a two or more dimensional array?<br>
<br>
<br>
dim weekdays(6) = ("Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" <br>
(or something similar)<br>
<br>
as opposed to this:<br>
<br>
dim weekdays(6)<br>
weekdays(0) = "Monday"<br>
weekdays(1) = "Tuesday"<br>
weekdays(2) = "Wednesday"<br>
weekdays(3) = "Thursday"<br>
weekdays(4) = "Friday"<br>
weekdays(5) = "Saturday"<br>
weekdays(6) = "Sunday"<br>
<br>
Can this be done with a two or more dimensional array?<br>
<br>