get_array_element

get value of array element
tag - tag of array, specifies one of two
array types AR_...
id - array id
idx - index of an element
returns: value of the specified array element.
note that this function may return char or long
result. Unexistent array elements give zero as
a result.