This repository has been archived on 2025-10-23. You can view files and clone it, but cannot push or open issues or pull requests.
Files
nub-lang-archive/example/src/main.nub
nub31 a29cb6d9db ...
2025-07-02 18:58:28 +02:00

26 lines
243 B
Plaintext

namespace main
struct Human
{
name: cstring
age: i64
}
func test() {
}
export func main(args: []cstring): i64
{
let x: []cstring
x = [2]cstring
x[0] = "test1"
x[1] = "test2"
c::puts(x[1])
return 0
}