Difference between revisions of "Arw Delete"
Jump to navigation
Jump to search
(→Notes) |
|||
Line 14: | Line 14: | ||
== Notes == | == Notes == | ||
* An object-specific ID number is assigned by [[Arw_New]], [[Arw_New_s]], [[Arw_New_self]] or [[Arw_New_self_s]] when the arrow object is created. | * An object-specific ID number is assigned by [[Arw_New]], [[Arw_New_s]], [[Arw_New_self]] or [[Arw_New_self_s]] when the arrow object is created. | ||
+ | * Use [[Arw_GetActive]], [[Arw_GetFirst]] or [[Arw_GetNext]] to get the object-specific ID of a specified arrow. | ||
== Example == | == Example == |
Latest revision as of 08:06, 19 February 2012
Removes an arrow object with the specified ID number from a chart.
Arw_Delete returns a value of 0 if the object was successfully removed, and a value of -2 if the specified object ID number is invalid.
Usage
Arw_Delete(ObjectID)
Where:
- ObjectID - a numerical expression specifying the object ID number.
Notes
- An object-specific ID number is assigned by Arw_New, Arw_New_s, Arw_New_self or Arw_New_self_s when the arrow object is created.
- Use Arw_GetActive, Arw_GetFirst or Arw_GetNext to get the object-specific ID of a specified arrow.
Example
Remove the arrow object with an ID number of 3:
Value1 = Arw_Delete(3);