get_values¶
Syntax¶
Parameters¶
table_name- The name of a table variable.
Returns¶
This action returns the list of values stored in the indicated table. The keys are sorted in ascending order of the keysa.
If the table is empty, the action returns an empty list.
Description¶
This action returns the list of values stored in the indicated table.
Examples¶
The following example sets the value_list to (3, 4, 2)
variables {
table some_table
}
clear(some_table)
some_table[40] = 1
some_table[30] = 2
some_table[10] = 3
some_table[20] = 4
erase(some_table,40)
value_list = get_value(some_table)