I feel like a rookie

Crittar

Member
Ever had one of those days?

You know the sort: Even the simplest problem seems beyond you?

I'm feeling a little like that today!

I'm sure you've all seen error message 74, you know, something along the lines of:

** Value 4030 cannot be displayed using >>9. (74)

So, you look through the output, find the place where you have ???? and adjust the formatting as appropriate.

I have looked through the output and there are no ???? in it.

I know I have to be missing something simple, but how can I get the above message without such a line being output?
 

Crittar

Member
I solved it (amazing the difference a night's sleep and a fresh brain make).

The culprit was the following statement:

per-str = string(per-cred,">>9") + "%".

Further into the program other logic prevented the record which 'blew' this field from being printed, hence no '????'.

Don't you just hate legacy code?
 

MHotovec

Member
An on-screen display??

Crittar said:
Ever had one of those days?


You know the sort: Even the simplest problem seems beyond you?

I'm feeling a little like that today!

I'm sure you've all seen error message 74, you know, something along the lines of:

** Value 4030 cannot be displayed using >>9. (74)

So, you look through the output, find the place where you have ???? and adjust the formatting as appropriate.

I have looked through the output and there are no ???? in it.

I know I have to be missing something simple, but how can I get the above message without such a line being output?
 
Top