Commit b8884aaa authored by Stefan Behnel's avatar Stefan Behnel

compile-time DEF test

parent a63120f5
__doc__ = """
>>> t
True
>>> f
False
>>> boolexpr
>>> num6
6
>>> intexpr
10
"""
DEF c_t = True
DEF c_f = False
DEF c_boolexpr = c_t and True and not (c_f or False)
DEF c_num6 = 2*3
DEF c_intexpr = c_num6 + 4
t = c_t
f = c_f
boolexpr = c_boolexpr
num6 = c_num6
intexpr = c_intexpr
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment