•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the VB.NET section within the Software Development category of DaniWeb, a massive community of 422,410 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,942 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our VB.NET advertiser: Programming Forums
Views: 554 | Replies: 2
![]() |
•
•
Join Date: Sep 2007
Posts: 60
Reputation:
Rep Power: 2
Solved Threads: 0
How can i actually initializes a 2-dimensional array ALL to 0?
I try using 2 For loops to set it as 0 like the one shown but it gv me an error:
And i need to loop each argument to get a count....
for example....i want machinecount(1,2)++ ... something like this.....
can anyone help me? Thank You s much...
Dim machinecount(,) As Integer
I try using 2 For loops to set it as 0 like the one shown but it gv me an error:
For B = 0 To 23
For C = 0 To 4
machinecount(B, C) = 0
Next
NextAnd i need to loop each argument to get a count....
for example....i want machinecount(1,2)++ ... something like this.....
can anyone help me? Thank You s much...
•
•
Join Date: Feb 2008
Location: Sivakasi, Tamilnadu, India
Posts: 453
Reputation:
Rep Power: 1
Solved Threads: 79
Hi
I think by default it has zero value
u can use like this
I think by default it has zero value
u can use like this
Dim machinecount(,) As Integer
.....
machinecount = New Integer(23,4) {} KSG
![]() |
•
•
•
•
•
•
•
•
DaniWeb VB.NET Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Array (C++)
- problem generating random numbers (C#)
- Dimensioning Strings (C#)
Other Threads in the VB.NET Forum
- Previous Thread: PDF to text
- Next Thread: Help me to make a Popup Message Program


Linear Mode