if current record is complex
if (complex(ptr))