SAMPLE - Math Functions
Absolute value of 2 is 2
Square root of 79 is 8.88819441731559
8.94427190999916 truncated looks like 8
0 rounded:
3 decimal places: 0
2 decimal places: 0
1 decimal places: 0
0 decimal places: 0
Ordinal values: 1st, 2nd, 3rd, 4th
SAMPLE - String Functions
Before trim: ( Test ) / After trim: (Test)
For the string "Welcome to TableSmith!":
- Leftmost 6 characters: Welcom
- Rightmost 4 characters: ith!
- Four middle characters starting at 7: e to
- Length: 22
- Replacing 'm' with 'X': WelcoXe to TableSXith!
- The string "gon" is Found at place 4 in the word "dragon"
SAMPLE - Sorting
Before sorting (ascending):
A = Sword
B = Spear
C = Dagger
After sorting:
A = Dagger
B = Spear
C = Sword
Before sorting (descending):
A = 5
B = 10
C = 7
After sorting:
A = 10
B = 7
C = 5
Ordering (ascending): "orc,troll,skeleton" becomes "orc,skeleton,troll"
Ordering (descending): "5,4,11,3,9,1" becomes "11,9,5,4,3,1"
SAMPLE - If Function
If the die roll of 2 is 1-5, "low" is displayed; "high" otherwise
Low
SAMPLE - CapEach Function
Before: realm of mythosa
After: Realm Of Mythosa
SAMPLE - Min/Max Functions
A = 18
B = 12
C = 15
Minimum: 12
Maximum: 18
SAMPLE - Split Function
Before:
A = 0
B = 0
C = 0
Temp = Bard,Sorcerer,Rogue
After:
A = Bard
B = Sorcerer
C = Rogue
SAMPLE - Check If Used Function
Call to non-repeating table: Three
Has '1' been used? No
Has '2' been used? No
Has '3' been used? Yes
Has '4' been used? Value not in table's range.
SAMPLE - Plural Function
harpy becomes harpies
wolf becomes wolves
kiss becomes kisses
ax becomes axes
hero becomes heroes
crunch becomes crunches
lash becomes lashes
dagger becomes daggers
SAMPLE - Lockout Function
Entry 8 - call any other than 8 after this
Entry 3 - don't call 6 after this
Entry 10 - call any other than 10 after this