Difference between revisions of "$isfile"

From Scriptwiki
Jump to: navigation, search
m (temp)
m (redirect)
Line 1: Line 1:
Returns informations on whether or not a file exists.
+
#redirect [[$exists]]
 
 
$isfile(file)
 
 
 
Returns $true if the file exists, otherwise it will return $false
 
 
 
== Examples ==
 
 
 
alias exists? {
 
  if ($isfile($1)) { return file exists! } | else { return file doesn't exist }
 
}
 
 
 
$isdir(C:\program files\mirc\mirc.ini)
 
 
 
== See also ==
 
 
 
[[$isdir]] to check if a directory exists.
 
[[$exists]] aa
 
 
 
[[Category:File and Directory Identifiers]]
 

Revision as of 09:32, 18 May 2007

Redirect to: