Check that file exists: Difference between revisions

Content added Content deleted
No edit summary
Line 299: Line 299:
}
}
IF( IS-DIR?("noExisDir"), "Directory \"noExistDir\" exist!\n", \
IF( IS-DIR?("noExisDir"), "Directory \"noExistDir\" exist!\n", \
"Directory \"noExistDir\" NOT exist!\n" )
"Directory \"noExistDir\" does NOT exist!\n" )
//"arch mañoso bacán.txt" text-file created

STR-TO-UTF8("File \"arch mañoso bacán.txt\" ")
IF( IS-FILE?( STR-TO-UTF8("arch mañoso bacán.txt") ), "exist!\n", "NOT exist!\n")

PRNL
PRNL
END
END
Line 308: Line 313:
File "hopper" exist!
File "hopper" exist!
Directory "fl" exist!
Directory "fl" exist!
Directory "noExistDir" NOT exist!
Directory "noExistDir" does NOT exist!
File "arch mañoso bacán.txt" exist!
$
$
</pre>
</pre>