Information may be Out-of-Date


This page about deprecated software versions is shown for
reference purposes only. Information on this page is not
maintained and may no longer be valid.
 

Please find the latest manual for Webserver Stress Tool here:

Manual Webserver Stress Tool (pdf)
 

Navigation: Contents   Index   Previous   Next

Arrays

Scripts support array constructors and support to variant arrays. To construct an array, use "[" and "]" chars. You can construct multi-index array nesting array constructors. You can then access arrays using indexes. If array is multi-index, separate indexes using ",". Arrays in scripts use a zero-based index.

Some examples:

NewArray = [ 2,4,6,8 ]

Num = NewArray[1] //Num receives "4"

MultiArray = [["green","red","blue"] , ["apple","orange","lemon"]]

Str = MultiArray[0,2] //Str receives 'blue'

MultiArray[1,1] = "new orange"

Navigation: Contents   Index   Previous   Next