The designator randomChild returns a randomly-chosen child of the current note (i.e. this note). If the current note has no children, randomChild returns the name of the current note. For example:
$MyString = $Name(randomChild)
This version is out of date, covering development from v8.0.0 to v8.x.x. It is maintained here only for inbound reference links from elsewhere. It is no longer actively updated.
Jump to the current version of aTbRef
Quicklinks: Attributes | Action Codes | Export Codes | Designators | Date Formats | aTbRef Site Map | Here
The designator randomChild returns a randomly-chosen child of the current note (i.e. this note). If the current note has no children, randomChild returns the name of the current note. For example:
$MyString = $Name(randomChild)