data.scalar.create

Syntax

sp = data.scalar.create(v)

Create a scalar. The position of the scalar is v, and the scalar value is set to 0.0.

Returns:sp - scalar pointer
Arguments:v - scalar position