I tried to do this:
local condition: BOOLEAN condition := true do
And something like this:
local condition: BOOLEAN := true do
Obviously, none of them work, but I need to initialize the variable inside the declaration, because I do not want the variable to be reinitialized if the repeat command is executed. I looked in the Eiffel documentation and in the textbook, but they always internalize the variables in the body of the operation.
source share