$Web Del Sel: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:$Web_Del_Sel}} <span class="pageSubtitle"><section begin="desc" />Delete a global select element<section end="desc" /></span> $Web_Del_Sel deletes a global sele...")
 
m (1 revision)
(No difference)

Revision as of 21:38, 21 February 2011

<section begin="desc" />Delete a global select element<section end="desc" />


$Web_Del_Sel deletes a global select element, preventing its further use and freeing any CCATEMP pages used by it. An overview of the $WEB_SEL_x functions is provided in $Web_Selp.

Syntax

<section begin="syntax" /> %RC = $Web_Del_Sel(global_name) <section end="syntax" />


$Web_Del_Sel is a callable $function (see Calling Sirius Mods $functions), and it can be run from a non-Janus Web Server thread.

$Web_Del_Sel takes one argument and always returns zero.

global_name The name of the global select element to delete. If it has not been saved by $WEB_SAVE_SEL, this routine does nothing.
Code Meaning
0 This is always returned.

$WEB_DEL_SEL return codes


$Web_Del_Sel will delete a global select element, preventing its further use; an example of this is shown in $Web_Selp. Other than this, $Web_Del_Sel is not needed to perform any processing supplied by the $WEB_SELx functions; unused global select elements will simply have their contents migrate out of the buffer pool and remain as unused CCATEMP pages.