2008-07-18 | Paul Boddie | file changeset files shortlog | Removed the value stack mechanisms. Added and/not/or support. Added a test of logical operators. |
paul@101 | 1 | #!/usr/bin/env python |
paul@101 | 2 | |
paul@101 | 3 | a = 1 |
paul@101 | 4 | b = 0 |
paul@101 | 5 | c = a and b |
paul@101 | 6 | d = a or b |
paul@101 | 7 | e = a and b or not a and not b |
paul@101 | 8 | |
paul@101 | 9 | # vim: tabstop=4 expandtab shiftwidth=4 |