exists

Top  Previous  Next

Scripts > Class elements and c++ instructions > File handling > exists

 

Prototype

 

bool exists(const str& xsPath);

 

Description

 

Returns true, if the operating system reports the path represented by xsPath exists, else false.

 

Example:

 

if(exists(TargetName())

  throw CTT_Error("target file already exixts");

 



This page belongs to the TextTransformer Documentation

Home  Content  German