100 pts.
 Runtime error and compile time error in RPG/400
Hi,   Can you please give me real senerio what is mean by runtime error and compile time error?please give me the logic of both?

Software/Hardware used:
software
ASKED: October 26, 2010  4:57 AM
UPDATED: October 28, 2010  11:35 PM

Answer Wiki:
Compile Time Error: An error within the code, that causes the compile of the program to fail. (i.e. Variable not defined) Runtime Error: An error that occurs when a compiled program encounters an error, while running. (i.e. Array element is out of bounds; like when you have an array defined to handle up to 99 elements, but the program tries to access element 100, and since the array is defined 99, it assumes element ZERO, which is not possible) -sarge
Last Wiki Answer Submitted:  October 26, 2010  1:35 pm  by  Rudedog   950 pts.
All Answer Wiki Contributors:  Rudedog   950 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

A run-time error happens when a program runs; and a compile-time error happens when a program is compiled. It seems like a pretty basic question that a student would need to know. In fact, a lot of questions seem to be “student” questions.

If these are interview questions, it doesn’t seem quite right to supply answers. That would seem to be misleading to interviewers.

Tom

 107,925 pts.

 

there most certainly seem to be a lot of “fishing” going on in the last few months. fishing for answers to textbook examples, interview questions and such.

it’s like having my own company all over again….i’m now w babysitter. :)

-sarge

 950 pts.

 

…from a lot of people in India…

At almost four times the size of, say, the U.S.A., four times as many questions might be expected.

Tom

 107,925 pts.