Bugs that most people may have noticed.
What you will see here:
case C of
CmdToggleCompiler :
Ss := CompilerList [CurrentCompiler].Shortname;
CmdSetDefaultExtension :
Ss := EdTruncateString (DefExtList, 13);
CmdToggleBreakMode :
if Curwin^.BM = DosMode then
Ss := EdGetMessage (363);
else
Ss := EdGetMessage (364);
end;
This code compiled ok, but sometimes the screen output showed garbage instead
a message. Using a debugger, I detected that the contents of the Ss string
variable are not valid in any case. Do you know why?
if (sqlca.sqlcode == SQL_NULL_VALUE) {
/* No old value */
GNR_NB = 1;
} if (sqlca.sqlcode < 0) {
/* SQL error */
SQLError ();
goto ExitPoint;
} else {
/* No error, use the next value */
GNR_NB++;
}
Go back.