I want to know the differences between Inspect verbs and examine verb in COBOL program. Is there ant difference between the two? If so someone highlight me on that.
Printable View
I want to know the differences between Inspect verbs and examine verb in COBOL program. Is there ant difference between the two? If so someone highlight me on that.
The INSPECT scans the source string from left to right counting, replacing or converting characters under the control of the TALLYING, REPLACING or CONVERTING phrases. But I could not figure out what a examine verb is. Waiting for someone to tell about this in the discussion.
both EXAMINE and INSPECT are used for same purpose,
before cobol -II, EXAMINE were used, but the same is replaced by INSPECT in cocobol-II.