Hi All!
Please help me with the following code, which works perfectly without the Delay 0.5, but with it gives me the following error:
A2248 The mistake is found in the method of recording the function Unit --(---)
L1% = 97
CallProc L1% = testProc(L1% )
L1% = 99
CallProc L1% = testProc(L1% )
DELAY 0.5
L1% = 100
CallProc L1%= testProc(L1%)
L1% = 101
CallProc L1%= testProc(L1%)
END
UsrProc testProc(value AS INTEGER ) AS INTEGER
ExitProc
value = i[value] + 1
RetProc testProc = value
ExitProc
EndProc
If you know what i'm doing wrong your help would be greatly appreciated!
Thank you in advance!