isfilevardim


This function is used to check if file variable dimensions are defined in a file variable before accessing them.
Synopsis
function isfilevardim(
thefile[1]:file,
varname[1]:string
dimnames:string
)
Arguments
- thefile
- thefile is the file to check.
- varname
- varname must be single string variable name.
- dimnames
- dimnames must be an array of strings, but can have any dimension.
Description
For each element in the dimnames parameter,
isfilevardim returns True if the element is
a dimension of the file variable varname in the file
thefile and False if not. The output of
isfilevardim is a logical array with the same
dimensions as the dimnames parameter. If the parameter
thefile is not a valid file or varname isn't
a defined file variable, 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:52 $