Check that file exists: Difference between revisions
Content added Content deleted
m (→{{header|VBScript}}: indentation - but these If/Then are totally useless, and so are these functions: calling FSO.FileExists(name) is equivalent to this FileExists(name)) |
m (→{{header|Stata}}: stored as string, would be an error without the macro quotes) |
||
Line 2,053: | Line 2,053: | ||
<lang stata>confirmdir docs |
<lang stata>confirmdir docs |
||
if !r(confirmdir) { |
if !`r(confirmdir)' { |
||
* do something if the directory exists |
* do something if the directory exists |
||
}</lang> |
}</lang> |