2008-08-23 | Paul Boddie | file changeset files shortlog | Fixed temp allocation, hopefully. Changed usage of _generateTestBoolean to involve a pre-allocated temporary storage slot. This also helps to resolve issues with logical operations, since the current value was previously being implicitly used to communicate the result of such operations. Split the logical test program into two. |
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 | |
paul@101 | 8 | # vim: tabstop=4 expandtab shiftwidth=4 |