General Injection issues
Moderators: Murderator+, Murderator
-
iRuLez
- Posts: 104
- Joined: 2006-05-04 18:40:42
Post
by iRuLez »
Code: Select all
sub main()
dim array[11]
array[0] = 1
array[1] = 2
array[2] = 3
array[3] = 4
array[4] = 5
array[5] = 6
array[6] = 7
array[7] = 8
array[8] = 9
array[9] = 10
array[10] = 11
uo.print(str(len(array)))
end sub
why print 5 ??
i need of return the length of the my_array
how can to do?
-
Millerbeer
- Posts: 247
- Joined: 2008-09-12 05:07:34
Post
by Millerbeer »
This command prints number of letters in a word - array
As I know, not possible to return the length of array