|
<SNIP> Part of my standards is that every procedure has a test program that will display all values returned by the procedure. </SNIP> So this is a unit testing tool to see if the functionality does not break with typical parameters then? <SNIP> I'd like to display the pointer that would be returned by a procedure to verify the pointer has a valid value. </SNIP> I have not used pointers at all in any real programming work, but I would think the only thing you could do is see if the pointer is *NULL or not. I suppose you could map another field over a pointer in a DS. You would probably need to check into a tool that translates the value into a hex string to make reading the actual value easier. I am still not sure that just seeing the pointer value is a validation of the functionality working. How will you know that the data it points to is valid for what the function is supposed to return? Thank you, Matt Tyler WinCo Foods, LLC mattt@xxxxxxxxxxxxxx
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.