Sets values for items within an array. The returned value is the old value of the specified element in the array.
Category: | Array |
Returned data type: | Integer |
// Declare the string array "string_list" // Set the dimension of string_list array to 5 string array string_list string_list.dim(5) // Set the first string element in the array to "Hello" string_list.set(1,"Hello")
string array string_list string_list.dim(5) // sets the first string element in the array to hello string_list.set(1,"hello")