fexists
From DavinciWiki
(Redirected from Fexists)
Contents: Description, Arguments, Usage, Examples, Related Functions Supported Under Version: >1.69 Current Davinci Version: 2.27 64-bit Safe: Yes
Description Determine if a file exists
Arguments and Return Values Arguments: a string containing a filename Return Value: 0 or 1
Usage Syntax: fexists(filename = STRING / TEXT) If passed a single value, it will return 1 if the file exists and 0 if it does not exist. When passed a TEXT array, it will return an array of values, one for each row of the input.
Examples dv> fexists("clndcs1.png") 1 dv> list Text Buffer with 5 lines of text 1: clndcs1.png 2: clndcs2.png 3: clndcs3.png 4: clndcs4.png 5: clndcs5.png dv> fexists(list) 1x5x1 array of int, bsq format [20 bytes] 1 1 1 0 0 |
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Recent Core Changes Modified On: 07-06-2009 |