361
Mach4 General Discussion / WTH
« on: April 18, 2019, 02:34:43 PM »
I keep being told it expects '(' near '+'.
I have () the hell out of it as many ways as I can and always the same thing.
Please tell me what is wrong with this code.
local inst = mc.mcGetInstance()
local CutMax = 250
local CutNow = mc.mcCntlGetFRO(inst)
local CutNow2 = tonumber(CutNow)
local CutNow3 = CutNow2 + 10
mc.mcCntlSetFRO(inst, CutNow3)
Bill
I have () the hell out of it as many ways as I can and always the same thing.
Please tell me what is wrong with this code.
local inst = mc.mcGetInstance()
local CutMax = 250
local CutNow = mc.mcCntlGetFRO(inst)
local CutNow2 = tonumber(CutNow)
local CutNow3 = CutNow2 + 10
mc.mcCntlSetFRO(inst, CutNow3)
Bill