DR DELETE

4D - Documentation   Français   English   German   4D Draw 2004, Command Theme List   4D Draw 2004, Command Alphabetical List   Back   Previous   Next

version 6.0


DR DELETE (area; scope)

ParameterTypeDescription
areaLongint4D Draw area
scopeLongint-1=All
0=Selected
>0=Object ID

Description

The command DR DELETE deletes the objects in area described by scope.

If scope equals -1, DR DELETE deletes all objects in the document.

If scope equals 0, DR DELETE deletes the selected objects.

If scope is greater than 0, it must be equal to a specific object's ID; the command deletes that object. If the object does not exist, DR Error returns error number 2.

Example

The following example deletes the object in Area whose ID is 5.

   DR DELETE (Area;5)

See Also

DR Get ID.


4D - Documentation   Français   English   German   4D Draw 2004, Command Theme List   4D Draw 2004, Command Alphabetical List   Back   Previous   Next