...
In the Editor, enter the above three statements (you can be lazy like me and copy-and-paste from the Command History; hold down the Ctrl-key to select multiple statements simultaneously). In addition add the clear all and clear clc commands at the top to start with a clean slate.
Save this file: File > Save
...