From 2e62b41072738142dea9f0b5dd5d2d22455c7616 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Wed, 26 Jun 2024 19:27:42 +0100 Subject: add arrays, appending, getting length, indexing --- tests/arr1.bth | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/arr1.bth (limited to 'tests/arr1.bth') diff --git a/tests/arr1.bth b/tests/arr1.bth new file mode 100644 index 0000000..0d06759 --- /dev/null +++ b/tests/arr1.bth @@ -0,0 +1,9 @@ +(set A (arr)) +(say A) +(say (len A)) +(append A 10) +(append A 20) +(append A 30) +(say A) +(say (len A)) +(say (A 1)) -- cgit v1.2.3