![]() |
|
|
NLI: Function: delete Background: NLI, Expressions, Functions Related: Examples Description: The delete function deletes things. General Format: (delete inp1) Examples: (; Delete things named mary) (delete mary) (; Delete persons named mary) (delete (and (get person inst *) (get * name 'mary))) (; Delete persons named mary whose age is 28) (delete (and (get person inst *) (get * name 'mary) (get * age 28))) (; Delete the relationship john like mary) (; Note, this does not delete john, like or mary) (delete (get john like mary)) Notes: |