diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2023-11-11 14:40:25 +0200 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2023-11-11 14:40:25 +0200 |
| commit | f7dd9705d44b9cee5103b267797c0449d42319df (patch) | |
| tree | a63c68f282cf64e250384a2e1e8525d2333b9dde /asm/test_py_src.py | |
| parent | d3abfd22d4f5fff02adaebe28707aea7bd804ba3 (diff) | |
WIP functions
Diffstat (limited to 'asm/test_py_src.py')
| -rw-r--r-- | asm/test_py_src.py | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/asm/test_py_src.py b/asm/test_py_src.py index 48a5cac..9af944e 100644 --- a/asm/test_py_src.py +++ b/asm/test_py_src.py @@ -1,16 +1,10 @@ import atk16 -if True: - 2 -else: - 3 +def func(arg1: int, arg2: int) -> int: + a = arg1 + return a + a -while 3: - 4 - break - 5 -else: - 6 +b = func(1, 3) # TEXT_MODE: atk16.ConstInt = 1 # GRAPHICS_MODE_ADDR: atk16.ConstInt = 0x17 |
