| | |
Initializes 2 dimensional array
Please support our VB.NET advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
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) {}Selva ![]() |
Similar Threads
- Dimensioning Strings (C#)
- Array (C++)
- problem generating random numbers (C#)
Other Threads in the VB.NET Forum
- Previous Thread: PDF to text
- Next Thread: Help me to make a Popup Message Program
Views: 2231 | Replies: 2
| Thread Tools | Search this Thread |
Tag cloud for VB.NET
"crystal .net .net2005 30minutes 2008 access add application array assignment basic binary box button buttons center code connectionstring convert cpu data database databasesearch datagrid datagridview design designer dissertation dissertations dissertationthesis dll dosconsolevb.net editvb.net employees error excel exists firewall folder function image images isnumericfuntioncall listview login math memory mobile module msaccess mssqlbackend mysql navigate net opacity page pan peertopeervideostreaming picturebox plugin port print printing printpreview problem record refresh reports" reuse save savedialog search serial sorting sql sqldatbase storedprocedure string structures studio temp textbox timer upload useraccounts usercontrol vb vb.net vb.netcode vb.nettoolboxvisualbasic2008sidebar vb2008 vbnet vista visual visualbasic visualbasic.net visualstudio2008 web wpf xml





