|
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 FER_LAST_ERROR; this is new in Ferret v6.0 In Ferret, yes? show symbol 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 |