Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I want to make two arrays, the first unidimensional ( var1() ) and the other bidimensional. ( var2(,) )

 

I have a for loop for extracting some values, and that values are going to the unidimensional array.

 

I want for each loop to take the value from the first array and to put it to the big array, and when the loop is over to have all the values inside the multidimensional array.(var2)

 

I can�t make this work.

 

 

Thanks

Posted

Solution

 

Posting the solution would be very nice to do.

So whe can all benefit from your solution.

 

That is the idea behind this forum..isn't it ?

 

Cire

Trust the Universe
  • 1 month later...
Posted

I don't know how much you will understant from my code, because I send many variables .

 

Public Sub grafic_for(ByVal x, ByVal y, ByVal y1)

       Dim myDate As Date

       myDate = date_day.Text

       For i As Integer = 0 To x

           ziua = Format(myDate.AddDays(-i), "dd")
           month = Format(myDate.AddDays(-i), "MM")
           year = Format(myDate.AddDays(-i), "yyyy")

           cale_finala = cale + ziua + month + year + ext

           Dim my As IO.StreamReader
           check_file(cale_finala)


           For k As Integer = y To y1
              
               info_total(i, k) = info(k)
           Next

       Next

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...