Type Object

Purpose:

Sets the type of a variable.

Syntax:

var = type.newtype  where newtype is one of the following

btye

float

double

short

int

long

string

bytearray

floatarray

doublearray

shortarray

intarray

longarray

stringarray

 

Example:

s1 = type.shortarray

Comments: 

Once the type is changed, it should not be changed again.