Can anyone tell me the difference between ON SIZE ERROR and ON OVERFLOW error.
Are they used interchangeably in programs or they both r different.. Please let me know
I don't use either very often so I went to the Language Reference to double check and the index told the tale:
ON EXCEPTION phrase
.. CALL statement 264
.. on INVOKE statement 312
ON OVERFLOW phrase
.. CALL statement 265
.. DISPLAY statement 279
.. STRING statement 380, 389
ON phrase, SET statement 364
ON SIZE ERROR phrase
.. ADD statement 257
.. arithmetic statements 240
.. COMPUTE statement 272
.. DIVIDE statement 282
.. MULTIPLY statement 326
.. SUBTRACT statement 384, 385
explaining that this is from the index of the language reference.
I had thought that you would look at this and see that if you wanted to look up info on "ON SIZE ERROR" you would have to decide which aspect of "ON SIZE ERROR" you needed to look at, which arithmetic type statement you needed. Similarly, I had thought that you would look at this and see that if you wanted to look up info on "ON OVERFLOW" you would have to decide which aspect of "ON OVERFLOW" you needed to look at, the CALL, the DISPLAY or the STRING.
Well I guess I'll just have to be disappointed that you "didn?t get anything" from what I sent. But what is really crushing is the idea that you hadn't yet even looked at a manual and the further feeling that to do so was beneath you.
With the attitude you are projecting, I wish you luck in your future, (but to myself I pray I never have to maintain any of your code ),
BTW, if needed I can repost this and highlight the arithmetic stataments and the verbs CALL, DISPLAY and STRING.....