nx_fca_t2.nx source
↩ module page · 13 lines · 305 B
1// nx_fca_t2.nx -- Prints "FLGATE hello=7" followed by a newline and exits.
2import "nx_syscalls.nx"
3import "nx_lib_std.nx"
4
5func main(argc: i64, argv: *i64) -> i64 {
6 let n: i64 = 0
7 n = 7
8 std_puts("FLGATE hello=" as *u8)
9 std_pdec(n)
10 std_puts("\n" as *u8)
11 sys_exit(0)
12 return 0
13}