Difference between revisions of "SET SAFETY"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=SET SAFETY=
 
 
 
==Class==
 
Environment
 
 
 
 
==Purpose==
 
==Purpose==
 
Determine whether existing files are overwritten without prompting for confirmation
 
Determine whether existing files are overwritten without prompting for confirmation
Line 15: Line 8:
  
 
==See Also==
 
==See Also==
PACK, REINDEX, ZAP, CREATE, SORT, TOTAL, COPY, JOIN, ERASE
+
[[COPY]], [[CREATE]], [[ERASE]], [[JOIN]], [[PACK]], [[REINDEX]], [[SET DIALOG]], [[SET MESSAGE]], [[SET VERIFY]], [[SORT]], [[TOTAL]], [[ZAP]]
  
  
Line 23: Line 16:
  
 
==Example==
 
==Example==
<pre>
+
<code lang="recital">
 
use patrons
 
use patrons
 
copy to orders
 
copy to orders
Orders.dbf already exists.  Overwrite it?  (Y/N)</pre>
+
Orders.dbf already exists.  Overwrite it?  (Y/N)
 +
</code>
  
  
 
==Products==
 
==Products==
Recital Terminal Developer
+
Recital  
 +
[[Category:Documentation]]
 +
[[Category:Commands]]
 +
[[Category:Set_Commands|SAFETY]]

Latest revision as of 15:29, 25 November 2009

Purpose

Determine whether existing files are overwritten without prompting for confirmation


Syntax

SET SAFETY ON | OFF | (<expL>)


See Also

COPY, CREATE, ERASE, JOIN, PACK, REINDEX, SET DIALOG, SET MESSAGE, SET VERIFY, SORT, TOTAL, ZAP


Description

If SET SAFETY is ON, the user is asked whether the file should be overwritten before performing the operation. By default, SAFETY is ON


Example

use patrons
copy to orders
Orders.dbf already exists.  Overwrite it?  (Y/N)


Products

Recital