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 : Export Codes : Export Code Scope : Item-based : ^randomLine( item )^ | aTbRef Site Map |
^randomLine( item )^ |
Code Type: | Data Include |
Code Scope of Action: | item |
^randomLine( item )^
Scans the text of a designated item or note (or, if no argument is supplied, the current note). The text is split at paragraph breaks (e.g. carriage returns), and one line (i.e. a paragraph) is chosen at random.
Here is a random line from note "Specimen text for test":-
The third paragraph is not different. It too has sentences. It then finishes. ^do(Check)^
Up: Item-based | |
Previous: ^randomChildOf( item )^ | Next: ^text( item[, N, plain] )^ |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]