2.9.4 Constructor Functions

These functions receive an input of a parameter and then create and return an object.

Function

Description

Example of usage

Result

Array(n)

Array(a, b, c)

Creates and returns an array of “n” elements

The initial value of the element is 0.

A multidimensional array is created if two or more elements are designated.

Refer to "4.1 Arrays".

Array(900)

Array(3,4)

Array [900]

Array [3] [4]

Pose(element)

Creates and returns a pose object

Refer to "5.1 Pose".

Pose object

Shift(element)

Creates and returns a shift object

Refer to "5.2 Shift".

Shift object

Last updated

Was this helpful?