| | |
Initializes 2 dimensional array
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Sep 2007
Posts: 60
Reputation:
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...
VB.NET Syntax (Toggle Plain Text)
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:
VB.NET Syntax (Toggle Plain Text)
For B = 0 To 23 For C = 0 To 4 machinecount(B, C) = 0 Next Next
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...
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
![]() |
Similar Threads
- 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
| Thread Tools | Search this Thread |
.net .net2008 2008 access advanced application array basic beginner browser button buttons center click client code combo convert cuesent data database datagrid datagridview date datetimepicker designer dissertation dissertations dissertationtopic eclipse excel exists fade filter forms function generatetags gridview html images input internet listview map mobile module monitor msaccess net number objects open panel pdf picturebox picturebox2 port position print printing problem read regex remove right-to-left save search searchvb.net select serial settings shutdown socket sqldatbase sqlserver survey temperature textbox timer timespan transparency txttoxmlconverter user usercontol vb vb.net vba vbnet visual visualbasic visualbasic.net visualstudio.net visualstudio2008 web winforms winsock wpf wrapingcode xml year





