DefineSnippet
Overview
The DefineSnippet scope function is allows you to define a variable from a block of wiki markup.
Prototype
DefineSnippet(string [name)
Parameters
- Name: name [Required]
- Type: string
- Description: The name of the snippet variable to define.
Examples
{{ DefineSnippet(MyBlock)
This is the content of the snippet variable.
}}
##Snippet(MyBlock)
##Snippet(MyBlock)
##Snippet(MyBlock)
See Also
Function Calling Convention
Scope Function
Instruction Function
Standard Function
Snippet
Get
Set
Related
- Snippet - Injects the value of a previously defined snippet variable.