[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
##############################################################################
###+-----+####################################################################
#+-| ZAP |-----------------------------------------------+####################
#| +-----+ The ZAP command removes all records and their |####################
#| associated memo fields from the current or |####################
#| selected alias, then reindexes if neccessary |####################
#+-------------------------------------------------------+####################
##############################################################################
##############################################################################
#+--| Syntax |------------+###################################################
#| [!<Alias>] ZAP |###################################################
#+------------------------+###################################################
##############################################################################
##############################################################################
###################+---| Description |---------------------+##################
###################| ZAP closes and recreates any index or |##################
###################| memo files associated with the alias |##################
###################+---------------------------------------+##################
##############################################################################
##############################################################################
#########+--| Example 1 |-------------------------------------------+#########
#########| * Delete all records in an "error" log database. |#########
#########| |#########
#########| IF printed_errors |#########
#########| !error_data ZAP |#########
#########| ENDIF |#########
#########+----------------------------------------------------------+#########
##############################################################################
##############################################################################
#########+--| Example 2 |-------------------------------------------+#########
#########| * ZAP deletes all records, regardless of the |#########
#########| * deleted flag. |#########
#########| |#########
#########| USE "getrid.of" ALIAS bye INDEX gonner, history |#########
#########| !bye DELETE ALL |#########
#########| !bye PACK |#########
#########| |#########
#########| *--- DELETE ALL, PACK is the same as ZAP. |#########
#########| |#########
#########| USE "getrid.of" ALIAS bye INDEX gonner, history |#########
#########| !bye ZAP |#########
#########+----------------------------------------------------------+#########
##############################################################################
See Also:
DELETE
PACK
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson