This version is out of date, covering development from v4.6.0 to v4.7.1. It is maintained here only for inbound reference links from elsewhere.
Jump to the current version of aTbRef.
|A Tinderbox Reference File : Attributes : Attribute Data Types : Number Attributes : WordCount (or Wordcount)||aTbRef Site Map|
WordCount (or Wordcount)
|Attribute Data Type:||number|
|Attribute Default Value:||(not set - 0)|
|Attribute Inherited from Preferences?||No|
Note: beware the lack of Caps in the second word, i.e Wordcount not WordCount as you might expect — there is no CamelCase spelling of the attribute name as with other attributes.
This returns the number of discrete words in the current note's text (q.v. TextLength for the total character count).
Either spelling - WordCount or Wordcount - may be used. For new files WordCount is a better choice for code but consider the old form if sharing files/code with users of older versions.
|Up: Number Attributes|
|Previous: Width||Next: Xpos|
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]