If the Compiler Can’t Find the Mistake, Maybe You Can
August 22, 2007 Ted Holt
Programs should not break when people change them, yet they often do. Sometimes programs break when programmers modify only one of two things that have to stay in sync. Compilers can’t always catch such errors, but you often can. For example, suppose that you are developing a program with a control break. Regardless of what language you are using, you will need a holding variable for each control field in order to test when a control field changes. Here’s an example of such a variable. D SaveItemNo s like(ItemNo) ItemNo is a database field. SaveItemNo is defined to be like |