Subj : Re: Any help on why? To : borland.public.cpp.borlandcpp From : Bob Gonder Date : Wed Jul 07 2004 01:20 am Stan DeGroff wrote: > for (i=0; i xresult = double va_arg(arglist, double); > result += xresult; > printf("%d %X, %X\n", i, xresult, result); > } > That prints the >variable "xresult" resulted in printing 0x0000. However the variable >"result" printed ok. Any ideas why the compiler forgets xresult? I know this sounds weird, but try this. for (i=0; i