Ok basically I want to set some variables from lines on a text box.
The below code is what i want to do but unable to find a way to do it
the textbox itself has random numbers between -10 and 10 on each line.
e.g.
1
-5
4
2
0
3
0
8
0
0
10
so what is the write code that I should use to do this...
I could also read it from a file... either way from textbox or file how do i read each line and set it as a value in the array?
The below code is what i want to do but unable to find a way to do it
VB.NET:
moveactionamount(1) = savebox.Text.line1
moveactionamount(2) = savebox.Text.line2
moveactionamount(3) = savebox.Text.line3
moveactionamount(4) = savebox.Text.line4
the textbox itself has random numbers between -10 and 10 on each line.
e.g.
1
-5
4
2
0
3
0
8
0
0
10
so what is the write code that I should use to do this...
I could also read it from a file... either way from textbox or file how do i read each line and set it as a value in the array?