12.17.3     GetVal and SetVal

 

Rem GETVAL and SETVAL.vbs - a VB Script

Rem A simple script to Get the value of a Tag.

Rem add one to it.

REM Set the value of the tag to the new value.

 

Dim value1

value1 = GETVAL("SPEED") + 1

SETVAL "SPEED=" & value1