how should look file with variables and how can i take these into script ?
my file looks like:
Code: Select all
dim asd[5]
asd[1] = "1"
asd[2] = "2"
asd[3] = "3"
asd[4] = "4"
asd[5] = "5"
and script:
Code: Select all
sub aa()
var x, f=file("test.dat")
f.Open()
for x = 1 to 5
UO.print(asd[x])
wait(300)
next
f.Close()
end sub