contents   index   previous   next



sedatatype

 

Represents the possible datatypes a ScriptEase variable can have. The following are the possible values for a variable of type sedatatype:

 

SE_UNDEFINED

The value is the undefined value which is a particular value in JavaScript. The JavaScript expression void 0 generates an undefined value. Variables created with the var statement but not yet assigned any value likewise are of the undefined value.

 

SE_NULL

The value is the JavaScript null value.

 

SE_BOOL

The value is a boolean, either true or false, and maps to the ScriptEase C sebool typedef described below.

 

SE_NUMBER

ScriptEase can be built with floating point enabled or disabled. If it is disabled, ScriptEase numbers are integers only, otherwise they are floating point number. The ScriptEase typedef senumber is used to hold the value as described below.

 

SE_STRING

The value is a string and maps to the secharptr typedef described below.

 

SE_BUFFER

The value is a buffer, a special ScriptEase array of bytes. It maps to ubyte *.

 

SE_OBJECT

The value is an object. ScriptEase objects are identified by the seobject typedef handle.

 


sebool