Another example is perhaps more helpful

This macro

```
ifShift recordMacro $thisKeyId
ifNotShift goTo 3
break
if($repeatCount == 0) setVar repeatCount 1
playMacro $thisKeyId
setVar repeatCount ($repeatCount - 1)
if ($repeatCount > 0) goTo 4
```

gives me this

```
Warning at Runtime 1/4: Unprocessed input encountered.
> 4 ~ if($repeatCount == 0) setVar repeatCount 1
> ~ ^
```

where as the below one (where $zero is set to be 0 in onInit) works fine

```
ifShift recordMacro $thisKeyId
ifNotShift goTo 3
break
if($repeatCount == $zero) setVar repeatCount 1
playMacro $thisKeyId
setVar repeatCount ($repeatCount - 1)
if ($repeatCount > 0) goTo 4
```

The macro the previous post was from is below

```
if($thisKeyId == 65) setVar repeatCount 1
if($thisKeyId == 66) setVar thisKeyValue 2
if($thisKeyId == 67) setVar thisKeyValue 3
if($thisKeyId == 68) setVar thisKeyValue 4
if($thisKeyId == 69) setVar thisKeyValue 5
if($thisKeyId == 70) setVar thisKeyValue 6
if($thisKeyId == 00) setVar thisKeyValue 7
if($thisKeyId == 01) setVar thisKeyValue 8
if($thisKeyId == 02) setVar thisKeyValue 9
if($thisKeyId == 03) setVar thisKeyValue 0
setVar repeatCount ($repeatCount*10 + $thisKeyValue)
```