rhea/assets/examples/array.rhea

10 lines
209 B
Plaintext
Raw Normal View History

2023-09-14 10:35:11 -05:00
var std = include "std";
var print = std.print;
func main(){
2023-10-02 17:16:27 -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-14 10:35:11 -05:00
}