diff --git a/test/array.zhv b/test/array.zhv new file mode 100644 index 0000000..9f13587 --- /dev/null +++ b/test/array.zhv @@ -0,0 +1,11 @@ +#!/bin/zhivo + +val nums = [1, 2, 3]; +render nums + "\r\n"; + +nums[1] = [2.25, 2.5, 2.75]; +render nums + "\r\n"; + +nums[1][1] = "Test"; +render nums + "\r\n"; +render nums[1][2] + "\r\n";