Hi David, You can use the SPAWN command, see "spawn, string variables" in the Users Guide index.
yes? LET a = {"dummy", SPAWN:"ls myfile.nc"} Another possibility if you don't mind creating an error condition intentionally, is to SET MODE IGNORE_ERROR, try to open the file, and then check for the existence of the symbol RET_LAST_ERROR; this is described in the Version 6.0 release notes, http://ferret.pmel.noaa.gov/Ferret/Documentation/Release_Notes/v600.html#fer_last_error Ansley David Wang wrote: Hello Ferreters, -- ~> ~> ~> ~> ~> ~> ~> ~> ~> ~> ~> Ansley Manke, NOAA/PMEL ansley.b.manke@xxxxxxxx 7600 Sand Point Way NE, Seattle WA Phone 206-526-6246, FAX 206-526-6744 |