Re: A question about certain language features
- Posted by Robert Craig <rds at RapidEuphoria.com> Feb 15, 2002
- 602 views
David Cuny writes: > Euphoria does check to make sure that "i" is actually set to some value > somewhere in the routine. If you wrote: > > integer i, j > if rand(1) then > i = 1 > end if > > you'll get a warning that "j" is not used. And if a variable is used, but not assigned a value anywhere... procedure foo() integer x ? x end procedure Warning: private variable x in foo() is never assigned a value Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com