Add M_REPLICATE & M_REPLICATE_C (src, test, doc)

This commit is contained in:
Patrick Pelissier committed 2021-02-06 22:32:38 +01:00
1 parent 07eb5697ab
commit 0cb1a8054f
3 files changed
+28

No files matched your search

+16
View File
@@ -5694,6 +5694,22 @@ Generate a sequence of number from 'init' to 'end'
==>
1,2,3,4,5,6
##### M\_REPLICATE(N, value)
Replicate the value 'value' N times.
M_REPLICATE(5, D)
==>
D D D D D
##### M\_REPLICATE\_C(N, value)
Replicate the value 'value' N times, separating then by commas.
M_REPLICATE_C(5, D)
==>
D , D , D , D , D
##### M\_NARGS(args...)
Return the number of argument of the given list.