edlang/programs/ptr.ed

13 lines
172 B
Rust
Raw Permalink Normal View History

2024-02-14 10:21:33 +00:00
mod Main {
pub fn main(argc: i64, argv: ptr<char>) -> i64 {
let mut a: i64 = 0;
if argc > 2 {
a = 1;
}
return a;
}
}