CREATE TIMER


PLBCMP GUI Only

square.png Properties

square.png Events

square.png Instructions

 

The CREATE TIMER statement initializes a TIMER object variable. The statement format is:

 

 

[label]

CREATE

[{parent};]{timer},{timeout}

 

Where:

label

Optional. A Program Execution Label.

parent

Optional. A previously created WINDOW or PANEL object variable or pointer to a WINDOW or PANEL object on which the object is created.

timer

Required. The name of a previously defined TIMER object variable or pointer to a TIMER object.

timeout

Required. A Numeric Variable, an Expression, or a decimal constant specifying the timeout value.

Flags Affected: NONE

Note the following:

  1. {timeout} must be given and be greater than zero.

  2. The {timeout} resolution is in tenths of a second.

  3. If the optional {parent} parameter is not specified, the default window is used.

 

 

See Also: Example Code, CREATE, Object Output Instructions

 



PL/B Language Reference CREATE TABCONTROL CREATE TOOLBAR