This shows you the differences between the selected revision and the current version of the page.
| ptpscript:functions:includeexists 2006/05/30 19:46 | ptpscript:functions:includeexists 1970/01/01 00:00 current | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ======includeexists====== | ||
| - | <box> | ||
| - | Check if a file exists and is valid for use with the ''Include'' function. | ||
| - | |||
| - | \\ | ||
| - | **Syntax** | ||
| - | * ''[[PTPScript:Types:Boolean|Boolean]] includeexists( [[PTPScript:Types:String|String]] filename )'' | ||
| - | |||
| - | \\ | ||
| - | **Parameters** | ||
| - | * [[PTPScript:Types:String|String]] ''filename'' - The file to check for. | ||
| - | |||
| - | \\ | ||
| - | **Result** | ||
| - | * [[PTPScript:Types:Boolean|Boolean]] - Whether the file exists. | ||
| - | </box> | ||
| - | |||
| - | Returns a Boolean indicating whether file ''filename'' exists and is valid for use. | ||
| - | |||
| - | ~~DISCUSSION~~ | ||