[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
I think we can't write like that something in PCAL:
begin algorithm ....
if FEOF(x) = EOF
ret := 0;
ret := 1
endlbl: <---- Here is the problem
Obviously we can replace "endlbl:" by "endlbl: ret := ret" or another innocent step but it is less good.
(I know that in this case I might use an "else" but the point is the possibility to have a label with no
_expression_ behind to jump to the end of an algorithm when we want to modelize a multi return