edlang/programs/simple.ed

13 lines
155 B
Plaintext
Raw Normal View History

2024-01-30 17:05:14 +00:00
mod Main {
2024-02-12 11:09:40 +00:00
pub fn main(argc: i64) -> i64 {
let mut a: i64 = 0;
if argc > 2 {
a = 1;
}
2024-02-04 14:57:26 +00:00
2024-02-12 11:09:40 +00:00
return a;
2024-02-04 14:57:26 +00:00
}
2024-01-30 17:05:14 +00:00
}