newvalue

Syntax: newvalue(name, type, value)

Creates a new variable.

Note

In Python/pi2py2, one should use the newstring command.

This command can be used in the distributed processing mode. Use distribute command to change processing mode from local to distributed.

Arguments

name [input]

Data type: string

Name of the variable in the system.

type [input]

Data type: string

Default value: string

Data type of the variable. Can be ‘string’, ‘int’, ‘real’, or ‘bool’.

value [input]

Data type: string

Default value: “”

Initial value of the variable

See also

set, clear