From 9970b48411b9816fbfa5b6b100a91baed0d44849 Mon Sep 17 00:00:00 2001 From: Qrius Date: Thu, 26 Sep 2024 00:11:05 +0200 Subject: Add array_size --- smp.1 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'smp.1') diff --git a/smp.1 b/smp.1 index 35b4c3d..888cced 100644 --- a/smp.1 +++ b/smp.1 @@ -36,6 +36,20 @@ Runs command on shell, and includes the command output in the output .IP "\fBexpr(, , ..., )\fR" Shorthand for running the expr command, expands all arguments, and executes it on the shell. +.IP "\fBdefine_array()\fR" +Defines a macro as a array, this can later be used with macros like \fBarray_push\fR and \fBarray_each\fR. + +.IP "\fBarray_push(, [, ])\fR" +On a macro that is defined as a array, this will add one or more elements. + +.IP "\fBarray_each(,