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 Groups within Tinderbox : Read-only system attributes : WordCount (or Wordcount) | aTbRef Site Map |
WordCount (or Wordcount) |
Attribute Data Type: | number |
Attribute Default Value: | (not set - 0) |
Atrribute Group: | Textual |
Attribute Inherited from Preferences? | No |
Attribute Read-Only? | Yes |
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: Read-only system attributes | |
Previous: WebLinkCount |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]