isfilevar


This function is used to check if file variables are defined in a file before accessing them.
Synopsis
function isfilevar(
thefile[1]:file,
varnames:string
)
Arguments
- thefile
- thefile is the file to check.
- varnames
- varnames must be an array of strings but can have any dimension.
Description
For each element in the varnames parameter,
isfilevar returns True if the element is a variable of
the file referenced by thefile and False if not. The output of
isfilevar is a logical array with the same
dimensions as the varnames parameter. If the parameter
thefile is not a valid file, then a single missing value is returned.
Reference Manual Control Panel
NG4.1 Home, Index, Examples, Glossary, Feedback, Ref Contents, Ref WhereAmI?
$Revision: 1.5 $ $Date: 1998/06/15 21:29:50 $