A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.lispworks.com/documentation/lw60/CLHS/Body/f_remhas.htm below:

CLHS: Function REMHASH

Function REMHASH

Syntax:

remhash key hash-table => generalized-boolean

Arguments and Values:

key---an object.

hash-table---a hash table.

generalized-boolean---a generalized boolean.

Description:

Removes the entry for key in hash-table, if any. Returns true if there was such an entry, or false otherwise.

Examples:

 (setq table (make-hash-table)) =>  #<HASH-TABLE EQL 0/120 32115666>
 (setf (gethash 100 table) "C") =>  "C"
 (gethash 100 table) =>  "C", true
 (remhash 100 table) =>  true
 (gethash 100 table) =>  NIL, false
 (remhash 100 table) =>  false

Side Effects:

The hash-table is modified.

Affected By: None.

Exceptional Situations: None.

See Also: None.

Notes: None.


Copyright 1996-2005, LispWorks Ltd. All rights reserved.

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4