Virtual Servo Ports
The Virtual Servo Ports do not actually control any physical hardware. You will find the Virtual Servo Ports in any control that uses a servo. These can be used in exchange of using variables for storing servo positions, or using servo controls.
Variables are global throughout the entire EZ-Builder environment. The Variable Watcher Control allows you to watch variable values in real-time. Variable types are dynamic by assignment, meaning there is no specific type definition between String, Integer and Floating point.
String: $str = “This is a string”
String Concat: $str = “fu” + $bar
Integer: $number = 6
Floating Point: $dec = 3.14
Byte: $byte = 0x52
Boolan: $bool = true
Result Condition: $result = ($x > $y)
Increment numeric: $number++
Decrement numeric: $number-
Binary Shift Left: $x = 123 > 1
Variable Constants/Reserved Words
These variables are read-only reserved words and cannot be assigned.