S
smat-consulting
Guest
Re Mike: I prefer to use DEFINE BUFFER bufCustomer FOR customer. It is very obvious if I am referring to a buffer without the bug prefix. And it doesn't compile if I am missing the define buffer statement. If I were to use the same name as the table, it is not at all obvious if I am missing a define buffer statement. And if you happen to make the same mistake in two methods or procedures, you have the scoping problem - which is a real hassle of a bug to find... But, yes, I also do recommend strongly ( strongliest!
) to define buffers for every table you're using in a method, function or procedure.
Continue reading...
Continue reading...