Discussion Locked

What is two dimension enviroment.

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Hello, if I want to use the tandomize statement and how to use the Rnd function? can you tell me how get the information. please tell me what is two dimension enviroment? Thanks.

1 reply

by micke

Hi

Now you haven't stated what language your using but mu suggestion is Visual Basic, I could be wrong but anyhow, if you have a question regarding programming language of MS Visual Basic, MS Visual C++, MS Visual J then you should head to msdn.microsoft.com

Function Random(what)
RANDOMIZE ' To start the engine
Random = Int((100*Rnd)+1) ' Random 1 to 100
End Function

Two dimensional is a Variable Array like

Array1(1 to 10)(1 to 10)

Then you could use the
Array1(0)(1) = "something"
Array1(0)(2) = "somehting"?

Array1(1)(1) = "something"
Array1(1)(2) = "something"

This is a quite easy way to use arrays...

If this helpt you in any way let me know.. thanks

This discussion is closed to new replies.