This shows you the differences between the selected revision and the current version of the page.
ptpscript:functions:macroexists 2006/05/27 19:22 | ptpscript:functions:macroexists 1970/01/01 00:00 current | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======macroexists====== | ||
- | <box> | ||
- | Check if a [[PTPScript:Commands:Macro|macro]] exists. | ||
- | |||
- | \\ | ||
- | **Syntax** | ||
- | * ''[[PTPScript:Types:Boolean|Boolean]] macroexists( [[PTPScript:Types:String|String]] name )'' | ||
- | |||
- | \\ | ||
- | **Parameters** | ||
- | * [[PTPScript:Types:String|String]] ''name'' - The macro to check for. | ||
- | |||
- | \\ | ||
- | **Result** | ||
- | * [[PTPScript:Types:Boolean|Boolean]] - Whether the macro exists. | ||
- | </box> | ||
- | |||
- | Returns a Boolean indicating whether macro ''name'' exists. | ||
- | |||
- | ~~DISCUSSION~~ |