getSize: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Added version.)
Line 1: Line 1:
{{MacroFunction
{{MacroFunction
|name=getSize
|name=getSize
|version=1.3b48
|description=
|description=
Returns the [[Token:size|size]] of the [[Token:Current Token|Current Token]].
Returns the [[Token:size|size]] of the [[Token:Current Token|Current Token]].
Line 16: Line 17:
|usage=
|usage=
<source lang="mtmacro" line>
<source lang="mtmacro" line>
[h: size = getSize()]
getSize()
</source>
</source>
}}
}}
[[Category:Token Function]]
[[Category:Token Function]]

Revision as of 12:12, 10 March 2009

getSize() Function

Introduced in version 1.3b48
Returns the size of the Current Token.

The sizes returned are

  • Diminutive
  • Tiny
  • Small
  • Medium
  • Large
  • Huge
  • Giant
  • Gargantuan
  • Colossal

Usage

getSize()