Erythro/tests/parameters

16 lines
427 B
Plaintext
Raw Permalink Normal View History

2021-01-17 21:56:37 +00:00
i32 :: params(int a, int b, int c, int d, int e, int f, int g, int h) {
PrintInteger(a); PrintInteger(b); PrintInteger(c); PrintInteger(d); PrintInteger(e); PrintInteger(f); PrintInteger(g); PrintInteger(h);
return(0);
}
int :: add(i32 a, i32 b, i32 c) {
return (a + b + c);
}
i32 :: main() {
int Temp;
params(1, 2, 3, 5, 8, 13, 21, 34);
Temp = add(2, 3, 4);
PrintInteger(Temp);
return (0);
}