FILE_ALERT

Returns an integer representing the command button you selected after Adams View displayed the Alert dialog box. Returns a 0 if a named file does not exist.
The Alert dialog box contains the message: <file name> exists. Create backup copy? It has three command buttons labeled Yes, No, and Cancel.

Format

FILE_ALERT (File Name)

Argument

 
File Name
Text string naming a file.

Example

The following example illustrates the use of the FILE_ALERT function:
 
Function
FILE_ALERT("aview.log%")
Result
returns an Alert box, as shown below.