Mercurial > python-cmd2
comparison example/exampleSession.txt @ 139:e2d06e53d09c
adding test for comments
author | catherine@Elli.myhome.westell.com |
---|---|
date | Thu, 13 Nov 2008 12:41:48 -0500 |
parents | 31674148b13c |
children | 7e5a57df88aa |
comparison
equal
deleted
inserted
replaced
138:4b428849783d | 139:e2d06e53d09c |
---|---|
87 (Cmd) & look, a shortcut! | 87 (Cmd) & look, a shortcut! |
88 look, a shortcut! | 88 look, a shortcut! |
89 (Cmd) say put this in a file > myfile.txt | 89 (Cmd) say put this in a file > myfile.txt |
90 (Cmd) say < myfile.txt | 90 (Cmd) say < myfile.txt |
91 put this in a file | 91 put this in a file |
92 (Cmd) # comments do nothing | |
93 (Cmd) /* C-style comments */ say are invisible | |
94 are invisible | |
95 (Cmd) orate and they don't /* interfere; | |
96 > with multiline */ commands; | |
97 and they don't commands; | |
92 (Cmd) set prompt "---> " | 98 (Cmd) set prompt "---> " |
93 prompt - was: (Cmd) | 99 prompt - was: (Cmd) |
94 now: ---> | 100 now: ---> |
95 ---> say goodbye | 101 ---> say goodbye |
96 goodbye | 102 goodbye |