1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00
ZoKrates/zokrates_cli/examples/book/multi_def.zok
2022-04-06 20:23:58 +02:00

11 lines
172 B
Text

def foo() -> (field, field) {
return 21, 42;
}
def main() {
// a is declared here
field a = 1;
// b is declared here
a, field b = foo();
return;
}