DELETE |
[TYPE
object-type
...]
|
SOURCE |
object-name | ... | |||||
OBJECT |
|||||||||
BOTH |
This command is used to delete Natural programming objects from the Natural system file.
Note:
The source currently in the editor's work area is not affected by the
DELETE
command.
See also Object Naming Conventions in the Using Natural documentation.
This document covers the following topics:
object-name |
|
||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
object-type |
In conjunction with asterisk notation for the object-name, you can also specify an object-type if you wish to delete only objects of a specific type. The possible settings for object-type
are the same as for the system command Note: |
If you use asterisk notation, you will get a selection list, on which you then mark the object(s) to be deleted. For each object, you can determine whether to delete its source code, its object module, or both - by marking the object with the appropriate letter (S , O or B).
If you enter only the DELETE
command itself,
you will also get a selection list, containing all objects stored in your
current library.
As a safeguard against accidental deletion, a window will automatically be displayed in which you have to confirm the deletion of an object by entering its name.
If you have specified or selected more than one object, an additional window will be displayed in which you can specify whether you wish to confirm the deletion for each object individually or whether all specified/selected objects are to be deleted without confirmation.
With this command, you delete three programming objects named
TOM
, DICK
und HARRY
:
DELETE TOM DICK HARRY
With this command, you delete the source and object module of the
programming object JOHN
, the sources of the programming objects
PAUL
and GEORGE
, and the object module of the
programming object RINGO
:
DELETE JOHN SOURCE PAUL GEORGE OBJECT RINGO
With this command, you get a selection list of all programming objects in the current library:
DELETE
With this command, you get a selection list of the sources of all maps in the current library:
DELETE TYPE M SOURCE *
With this command, you get a selection list of all global, local and parameter data areas in the current library which are stored in source and/or object form and whose names begin with D:
DELETE TYPE GLA D*
With this command, you get a selection list of all programming objects in the current library which are stored in object form and whose names begin with "YYZ":
DELETE OBJECT YYZ*
With this command, you delete the source and object module of the maps
TOM
and DICK
, the source of the map
HARRY
, the source of the program JOHN
, and the object
module of the program PAUL
:
DELETE TYPE M TOM DICK SOURCE HARRY TYPE P JOHN OBJECT PAUL