|
10 | 10 | * [Array Methods](#array-methods) |
11 | 11 | * [array:get()](#array_get) |
12 | 12 | * [array:set()](#array_set) |
13 | | - * [array:add()](#array_add) |
| 13 | + * [array:append()](#array_append) |
14 | 14 | * [array:insert()](#array_insert) |
15 | 15 | * [array:setsub()](#array_setsub) |
16 | | - * [array:addsub()](#array_addsub) |
| 16 | + * [array:appendsub()](#array_appendsub) |
17 | 17 | * [array:insertsub()](#array_insertsub) |
18 | 18 | * [array:remove()](#array_remove) |
19 | 19 | * [array:len()](#array_len) |
@@ -147,14 +147,14 @@ Array objects can be created by calling the module function [carray.new()](#carr |
147 | 147 |
|
148 | 148 | <!-- ---------------------------------------------------------------------------------------- --> |
149 | 149 |
|
150 | | -* <a id="array_add">**` array:add(...) |
| 150 | +* <a id="array_append">**` array:append(...) |
151 | 151 | `** </a> |
152 | 152 |
|
153 | | - Adds the given elements to the end of the array object. |
| 153 | + Appends the given elements to the end of the array object. |
154 | 154 |
|
155 | | - * *...* - list of elements or array objects that are added to the end of the array object. |
| 155 | + * *...* - list of elements or array objects that are appended to the end of the array object. |
156 | 156 | If the array element type is *signed char* or *unsigned char* |
157 | | - (see [Element Type Names](#element-type-names)), it is also possible to add |
| 157 | + (see [Element Type Names](#element-type-names)), it is also possible to append |
158 | 158 | string values. |
159 | 159 |
|
160 | 160 |
|
@@ -201,23 +201,23 @@ Array objects can be created by calling the module function [carray.new()](#carr |
201 | 201 |
|
202 | 202 | <!-- ---------------------------------------------------------------------------------------- --> |
203 | 203 |
|
204 | | -* <a id="array_addsub">**` array:addsub(array2, pos1, pos2) |
| 204 | +* <a id="array_appendsub">**` array:appendsub(array2, pos1, pos2) |
205 | 205 | `** </a> |
206 | 206 |
|
207 | | - Adds elements of another array *array2* to the end of the array object. |
| 207 | + Appends elements of another array *array2* to the end of the array object. |
208 | 208 |
|
209 | 209 | * *array2* - source array. |
210 | 210 | If the destination array element type is *signed char* or *unsigned char* |
211 | 211 | (see [Element Type Names](#element-type-names)), it is also possible to give |
212 | 212 | a string value here. |
213 | | - * *pos1* - integer position of the first element to add from *array2*. |
214 | | - * *pos2* - integer position of the last element of *array2* to add. |
| 213 | + * *pos1* - integer position of the first element to append from *array2*. |
| 214 | + * *pos2* - integer position of the last element of *array2* to append. |
215 | 215 |
|
216 | | - The first element in the array has position 1, i.e. *array:addsub(array2, 1, 3)* adds the |
| 216 | + The first element in the array has position 1, i.e. *array:appendsub(array2, 1, 3)* appends the |
217 | 217 | first three elements of *array2* to the array. |
218 | 218 |
|
219 | 219 | *pos1* or *pos2* may be negative to denote positions from behind, e.g. |
220 | | - *array:addsub(array2,-3,-1)* adds the last three elements of *array2* to the array object. |
| 220 | + *array:appendsub(array2,-3,-1)* appends the last three elements of *array2* to the array object. |
221 | 221 |
|
222 | 222 |
|
223 | 223 | <!-- ---------------------------------------------------------------------------------------- --> |
@@ -341,7 +341,7 @@ Array objects can be created by calling the module function [carray.new()](#carr |
341 | 341 | `** </a> |
342 | 342 |
|
343 | 343 | Sets or get the reserve count. The reserve count denotes the number of new elements that |
344 | | - can be added to the array without the need to re-allocate the array's memory. |
| 344 | + can be appended to the array without the need to re-allocate the array's memory. |
345 | 345 |
|
346 | 346 | * *count* - optional integer, if greater zero this methods assures that the reserve is at |
347 | 347 | least *count* number of elements. If zero or less the reserve is |
|
0 commit comments