It only works correctly if I put a delay after the chnget other
wise the previous value is printed. It looks like the change after
the chnget comes too soon.
Following code works:
Spath chnget "GM"
printks "now.....%s",1,Spath ;when this line is commented out,
the change shows the previous value!
kgm changed Spath
if (kgm==1) then
printks "in if...%s",1, Spath
On 22/11/2020 15:16, Dave Seidel wrote:
I think because you're using prints, which is
I-rate, but it's a k-rate if statement. Try using prints.