WordCount (or Wordcount)

Tinderbox Icon


Attribute Data Type:   number
Attribute Default Value:   (not set - 0)
Atrribute Group:   Text
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).

From version 3.0.5, 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: System Attribute List
Previous: Width  Next: Xpos 

[Last updated: 3 Dec 2008]

Google search aTbRef for:  

Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]

Creative Commons License

Made with Tinderbox