Example 4

An example demonstrating the superscript and subscript commands of the TextLine Class and the parseDouble() method

Currently the recognised commands are

Anything following this character is printed as is, without interpretation.
Everything following this is superscripted.
Everything following this is subscripted.
Save the current state.
Restore the previously stored state.