Navigation:  thinBasic Modules > STAT (Statistical module) >

Stat_CloneArray

Previous pageReturn to chapter overviewNext page

 

Description

 

This function will copy the values from Array1 to the corresponding position of Array2.

Array1 and Array2 must be of the same data type.

 

Syntax

 

STAT_CloneArray(Array1, Array2)

 

Returns

 

Number. The number of occurrences of MyNumber inside ArrayVariable.

 

Parameters

 

Name

Type

Optional

Meaning

Array1

Numeric Array

No

The array containing data

Array2

Numeric Array

No

The array receiving the data

 

Remarks

 

This function perform a memory copy of the memory allocated for Array1 over the memory of Array2.

 

Restrictions

 

See also

 

Examples