Beispiel #1
0
def IfStmt_Case_3() -> bool:
    box = BoxMachinePlus()

    if box.query(DStr("ident")) == "Box":
        v = core.DInt(1)

    return True
Beispiel #2
0
def IfStmt_Case_2() -> bool:
    box = BoxMachinePlus()
    v = 1

    if box.query(DStr("ident")) == "Box":
        v = 2
    else:
        v = 3

    return True
Beispiel #3
0
def AssignStmts_Case_1() -> bool:
    box = BoxMachinePlus()
    info = box.query(DStr("things"))
    box.op(info)
    return True
Beispiel #4
0
def CallExpression_Case_2() -> bool:
    box = BoxMachinePlus()
    box.op(DStr("thing"))
    return True
Beispiel #5
0
def CallExpression_Case_1() -> bool:
    box = BoxMachinePlus()
    box.op(box.query(DStr("things")))

    return True
Beispiel #6
0
def BinEqual_Case_3() -> bool:
    box = BoxMachinePlus()
    box.query(DStr("A")) == "A"

    return True