We finally upgraded to Robot C 4.x and I have a Question about deprecated functions.
I get a warning :
Warning:Symbol ‘abs’ is ‘deprecated’ definition. There may be alternate symbol with equivalent functionality.
here’s the line of code being pointed to.
if( (abs(ctl_v) <= JOY_THRESHOLD) && (abs(ctl_h) <= JOY_THRESHOLD) )
Yet the function appears in the text functions list (See attached JPG)
What’s the preferred replacement?
Cheers Kb