[Contents] · [Home] · [Mail]

SALIERI Language - deleteAll

Type:
deleteAll: maskString -> ()

Call syntax:
deleteAll(mask)

Description:
deleteAll deletes all objects with names matching the pattern-string mask from the current workspace. mask may contain wildcard symbols "*", which match arbitrary strings.

Attention!
There is no function to undelete objects, so objects which are deleted from the workspace are generally lost forever! To avoid unintended loss of data, it is a good idea to use statAll before deleteAll to check which objects will actually be deleted.

Error conditions:
An error condition occurs, if no object named anObject can be found in the current workspace.

Example:
> test := FALSE
> text := "abc"
> n := 42
> deleteAll("t*")
Deleting objects t*:
test
text

See also: delete, statAll, sync.


[Contents] · [Home] · [Mail]
© sic!systems, page frame designed by hh; this page has been automatically generated from the SALIERI Documentation Database.