partition numbers in four terms

N

nak

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?
 
T

Tom Shelton

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....
 
T

Tom Shelton

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....
 
C

Cor Ligthert[MVP]

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.
 
C

Cor Ligthert[MVP]

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.
 
F

Family Tree Mike

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...
 
F

Family Tree Mike

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...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top