View previous topic :: View next topic
|
Author |
Message |
richie_techin
New User
Joined: 21 Jan 2006 Posts: 16 Location: india
|
|
|
|
hi ,
Can anyone please tell me the difference between INSPECT and EXAMINE..thanx in advance. |
|
Back to top |
|
|
DavidatK
Active Member
Joined: 22 Nov 2005 Posts: 700 Location: Troy, Michigan USA
|
|
|
|
Hi richie_techin,
I don't have any of my old COBOL manuals so I cannot tell you exactly what the syntax differences are. But examine is no longer supported in the recent versions of COBOL. It was replaced by the INSPECT statement. The functionality of EXAMINE and INSPECT are generally the same.
Dave, |
|
Back to top |
|
|
i413678 Currently Banned Active User
Joined: 19 Feb 2005 Posts: 112 Location: chennai
|
|
|
|
Hi,
Please see the syntaxes for both the verbs...you will find the differences like
there are only 3 options in EXAMINE where in you cant replace all the characters at a time but in INSPECT you can replaces and you can take the count of all the characters if you want.....and more over there is no count variable in EXAMINE but you can specify the count variable in INSPECT.....
correct me if i am wrong...
pavan |
|
Back to top |
|
|
pa1chandak Currently Banned New User
Joined: 31 Jan 2006 Posts: 55
|
|
|
|
IN COBOL 74 EXAMINE WAS THERE
NOW AS WE ARE USING COBOL 2 , IT HAS REPLACE WITH INSPECT , SO THERE IS NO SUCH DIFFRRENCE BETWEEN EXAMINE AND INSPECT.
PAWAN C. |
|
Back to top |
|
|
|