Huy Vo wrote: > Basically you have to hard code the line number in the code? > And everytime you add or delete something before that line, you change > that hard coded number again? __LINE__ is supposed preprocessed by > a program so the programmer doesn't have to count. As to portability, > I don't know a C compiler that doesn't have __LINE__. Do you? I know several. In fact no C compiler understands __LINE__. The standard preprocessor cpp does however understand __LINE__. It is perfectly possible to use cpp on Ada source as well, but I wouldn't recommend it. Decent version control systems usually supply a way to get the integer literal of the current line number inserted in the source. /Sj�sv�rd