S
slacroixak
Guest
This behavior is seen in 11.7.5 and earlier. Say there is no such field poney in the customer table: DEFINE TEMP-TABLE ttcustomer NO-UNDO LIKE customer. CREATE ttcustomer. FIND FIRST customer. BUFFER ttcustomer:BUFFER-COPY(BUFFER customer:HANDLE, "poney"). => raises no error at runtime. Pretty dangerous if the except-list has a typo (hardcoded or in a variable) On the other hand, with static programming we get this compile time error which is safer BUFFER-COPY customer EXCEPT poney TO ttcustomer ** Unknown Field or Variable name - poney. (201) 11.7 now offers a significant improvement with strict compilation warning and errorsd. Are there ideas to provide stricter checks at runtime to detect cases like this one, especially around the record buffer methods?
Continue reading...
Continue reading...