summaryrefslogtreecommitdiff
path: root/doc.txt
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-07-23 17:00:56 +0100
committerubq323 <ubq323@ubq323.website>2024-07-23 17:00:56 +0100
commitaa0485fe33204169724d020f9c5e3b91e558ab1e (patch)
tree909ea369aa38854fe98396c61ecab6c600533f7a /doc.txt
parent726f9e814b29b4496d07c92323dc55dcf93c2a87 (diff)
add pend builtin function
Diffstat (limited to 'doc.txt')
-rw-r--r--doc.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc.txt b/doc.txt
index fce7e9d..d65c981 100644
--- a/doc.txt
+++ b/doc.txt
@@ -43,6 +43,10 @@
(arr): create new empty array
(append a x): appends to array a, returns a
(len a): get length of array a
+ (, ...): pend. concatenates arrays, promotes non-arrays to arrays
+ (, [1 2 3] 4) -> [1 2 3 4]
+ (, [1 2 3] [4 5]) -> [1 2 3 4 5]
+ (, 10 20) -> [10 20] etc
# cmdline args
bth [-Dl] [-Dt] filenames...