Set Screen Label


var [VAR_NAME] = [VALUE]

Fill Variable named [VARNAME] with [VALUE | INTEGER | FLOAT]


var [VAR_NAME] + [VALUE]

Add VALUE


var [VAR_NAME] - [VALUE]

Subtract VALUE


var [VAR_NAME] / [VALUE]

Divide VALUE


var [VAR_NAME] * [VALUE]

Multiply VALUE


OPTIONS:

use " < [VARIABLE] " for load external variable.

Es. var myvar = 100 < new_var

Example

# SET VARIABLE
var voltage = 32
var voltage + 2
var voltage / 2
# voltage output = 17
# LABEL SETUP
ds_label_option labelname black yellow 15
ds_label_xy labelname 180 60
ds_label_dim labelname 130 30
#VIEW LABEL
ds_label_set labelname Volt: 12 < voltage
#PAUSE:
sleep 10
# CLOSE LABEL
ds_label_close labelname
Powered by Sgneep.com