$FileName:="next_to_executing_file.a4d"

file exists($FileName) // is returning "false"

file exists(replace string(current path(*);current file;$FileName)) // is
returning "false"

 

But the following returns true:

$Path_Long:=replace string(current path;current file;$FileName)

if(test path name($Path_Long)=is a document) // is returning "true"

 

It seems to me that these three should be equivalents.

 

Is "file exists" working or what am I doing wrong?

 

Thanks!

David Ringsmuth

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to