× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



>I mean, if the offsets are the only way to 
>go, then why don't the buffer example just have one big field 
>that contains the old/new record values and tell you to use 
>the offsets to determine the starting and ending points, 
>rather than show individual fields?  

That technique works.  You do not need pointers to use offsets.  You can
describe the record as a giant array and use an array index as the offset.
Or you can go nuts and use substring.  The idea is the same: use the
"offset" values given in the trigger buffer to locate the record, and DON'T
ASSUME that the record data always starts in the same place in the trigger
buffer.

>Thanks for the input, as I know I have more work to do. I was 
>just curious if there was an actual reason why I needed to 
>input the extra field when it wasn't illustrated in any 
>documented examples.

Sounds like you are looking at less than stellar examples.

>How many times have we fixed a program, and then not 
>really understood why or how we fixed it??  

In my case, never.  If I don't understand the code then I don't put it into
production.
  --buck

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.