EXIST - Detect the existence of a file on disk (Reports & Settings Report Generator function)

From Catalyst
Jump to: navigation, search

Syntax

$EXIST{file}

Description

Tests to see if the file specified as the parameter exists.

Please note that if the full path name is not specified, the program will check in the current 'SXCo' directory.


Parameters

file
A text parameter that can not be omitted.
Input file name.

Returns

A numeric value.

1
File exists.
0
File does not exist.