WHat does this mean
Dim variable(0,5) as Long
later I'd use it as
CoCreateInstance(variable(0),...)
Someone could help me please ?
Thank you
Printable View
WHat does this mean
Dim variable(0,5) as Long
later I'd use it as
CoCreateInstance(variable(0),...)
Someone could help me please ?
Thank you
This means that each VAR has 0x5 (starting at 0, or 1x6) entries
To use this:Code:Dim variable(0,5) as Long
it will print outCode:Dim MyNum(1,5) as Long
Dim x as Int, as Int
for x=0 to 1
for y=0 to 5
print "X= & x & " and Y=" & y
next y
next x
Quote:
X= 0 and Y= 0
X= 0 and Y= 1
X= 0 and Y= 2
X= 0 and Y= 3
X= 0 and Y= 4
X= 0 and Y= 5
X= 1 and Y= 0
X= 1 and Y= 1
X= 1 and Y= 2
X= 1 and Y= 3
X= 1 and Y= 4
X= 1 and Y= 5
Dglienna,
In my learning period , Our teacher taught us something like this, we found it to be useless.
But AFAI Remember he taught us the same thing which outputted a pyramid of * 's .
Can you please refresh me once again the same?
Rahul
Then go back, and study my code again. You asked about an array, not building a string of "*"sQuote:
In my learning period , Our teacher taught us something like this, we found it to be useless.
If you built a matrix of "*"s (to form WORDS for instance) I'd be impressed