delarray

Synopsis:
$delarray(<array>)

Technical:
This function removes all items in an array created with $setitem( ), having the effect of deleting the array.

Practical:
This function deletes an array. Generally this is most useful when cleaning up after a script.

Returns:
-1 error, array does not exist
0 array deleted successfully

Other Notes
If the return value will be discarded, use @delarray(<array>) instead of $delarray(<array>).

See Also:
Arrays
delitem
setitem

 

Back

Hosted by www.Geocities.ws

1