partition numbers in four terms

  • Thread starter Thread starter Pascal
  • Start date Start date
Oops you got there first I didn't even notice! doh!
Sub Main()
Dim p() As Integer
ReDim p(6)

partition(p, 6, 6, 0)

Console.WriteLine("Done...")
Console.ReadLine()
End Sub

Although, why redim out of curiosity?
 
Oops you got there first I didn't even notice! doh!


Although, why redim out of curiosity?

Also, it should be 5 since, java uses the more sensible of using the number of
elements, rather then the last index used by VB....
 
Oops you got there first I didn't even notice! doh!


Although, why redim out of curiosity?

Also, it should be 5 since, java uses the more sensible of using the number of
elements, rather then the last index used by VB....
 
Branco,

You are right, I did misread it

Cor


Branco said:
Cor Ligthert[MVP] wrote:

<snip>


The code is in Java and he is explicitly asking for an similar
solution in Vb.

Regards,

Branco.
 
Branco,

You are right, I did misread it

Cor


Branco said:
Cor Ligthert[MVP] wrote:

<snip>


The code is in Java and he is explicitly asking for an similar
solution in Vb.

Regards,

Branco.
 
nak said:
Oops you got there first I didn't even notice! doh!


Although, why redim out of curiosity?

I was going to make a variable for the dimensioning, then just forgot to put
it in...
 
nak said:
Oops you got there first I didn't even notice! doh!


Although, why redim out of curiosity?

I was going to make a variable for the dimensioning, then just forgot to put
it in...
 
Back
Top