Set Number

C Definition

Not Applicable

Pascal Definition

Not Applicable

Description

This block assigns a numeric value to a variable. Variables are created with the "Add a Variable" button or by being declared on the Console Tab and marked as block accessible. The oval on the right providing the number can be a constant value enter into the field by clicking on the field or by placing in that field an oval numeric expression.

Escapes

The Set Number block does not produce any escapes.

Examples

Constants can be assigned to numeric variables by adjusting the value in oval to the right. Clicking on the field produces a keypad:

Numeric variables can be set from any oval expression such as a motion parameter:

Related Topics

Change By
Set Boolean