make_array

make_array — creates an empty array.

Syntax

make_array (n_elements)

		

Arguments

n_elements

A number of elements.

Returns

An array with the given number of elements, all nil.

Description

Creates an empty array for later use. This function has become obsolete as the array function can now create empty arrays. See array.

Example

Gamma> make_array(4);
[nil nil nil nil]
Gamma> make_array(7);
[nil nil nil nil nil nil nil]
Gamma> 
		

See Also

array