getSpeechNames: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
==Function getSpeechNames== | ==Function getSpeechNames== | ||
Returns a [[Macros:string list|string list]] containing the [[Token:speech|speech]] names of the current [[Token:token|token]]. | Returns a [[Macros:string list|string list]] containing the [[Token:speech|speech]] names of the current [[Token:token|token]]. |
Revision as of 15:09, 6 December 2008
Function getSpeechNames
Returns a string list containing the speech names of the current token.
Usage
[h: macros = getSpeechNames()]
[h: macros = getSpeechNames(delim)]
delim is the delimiter used to separate the values in the string list which defaults to ',' if not specified.
Examples
To display the names of all of the speech values for the current token use.
[h: names = getSpeech()]
[foreach(name, names, "<br>"): name]