Imabs is a LabTalk function in Origin8.6, not an OriginC function.
If you want to use it in OriginC function form, you need declare it first outside the function body in Code Builder dialog. e.g.
-------------------------------------
double Imabs(complex cX);
-------------------------------------
Sam
OriginLab Technical Services