1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00
ZoKrates/zokrates_cli/examples/for.code
2018-08-21 13:05:17 +02:00

7 lines
127 B
Text

def main(field a) -> (field):
field x = 7
for field i in 0..10 do
// x = x + a
field x = x + a
endfor
return x