On 09/22/2010 08:24 PM, Nick LeRoy wrote:
Here, however, you declare a *new* set of variables with a more limited scope *that happen to have the same names*. The scope of these variables is only within the enclosing braces "{" and "}". Thus, after the final "}", your newly scoped variables don't exist. From the compiler's point of view, your code created some new variables, initialized them, and then never used them. Hense the warnings. The "double Pb = arry[3];" declares the new variable; which is most certainly wrong.
(smacks self) Thank you! -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org