Hello David,
In a message dated 31 Oct 96 you wrote to Frank Adam :
DN> Don't worry about me - I'm a little jaded on gratuitous use of #define.
DN> unless there is some intrinsic *technical* value in using a #define
DN> (like a manifest constant or some other common value used in many
DN> source places that may be subject to change at some future date), then
DN> it should be avoided at all costs. IMVHO.
A real handy use for #defines is to use them instead of doing calls to subroutines.
For instance, if you had the subroutine:
void average(int *data, int *result, int size)
{
int i;
*result=0;
for (i=0;i * Origin: It's rude to Point (3:640/201.14{at}fidonet)
SEEN-BY: 633/267 270
@PATH: 640/201 201 820 711/409 808 50/99 635/728 633/267
|