Re: A question about certain language features
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
|
Not Categorized, Please Help
|
|