> -----Original Message-----
> From: pete moss [mailto:[EMAIL PROTECTED]]
>
> i seem to remember someone recently saying that one shouldnt pass
> structs in function parameters.  if that is bad, then how can 
> i take 16
> code segments with nearly the same code and make 1 code 
> segment with the
> ability to fill in the changing part?
> 
> any ptrs?

Funny you should say that.  Pointers are exactly what you want.

Make your function take a pointer to the struct type.

-- 
-Richard M. Hartman
[EMAIL PROTECTED]

186,000 mi./sec ... not just a good idea, it's the LAW!

Reply via email to