rhea/assets/examples/array.rhea

10 lines
209 B
Plaintext
Raw Normal View History

2023-09-08 09:39:08 -05:00
var std = include "std";
var print = std.print;
func main(){
2023-09-21 12:42:13 -05:00
// Arrays do exist only tuples packed into a single var
// zero indexed
var arr = (123, 456, 789);
// Print 456
print(arr.1);
2023-09-08 09:39:08 -05:00
}