>>Procedure call:
>>
>>DO blabla
>>
>>
>>function call
>>
>>blabla()
>>
>>
>>if you define
>>
>>
>>PROCEDURE blabla
>>
>>or
>>
>>FUNCTION blabla
>>
>>
>>does not mean a bit
>>
>I know that - but that was only used to show the short-circuiting
>
>And both functions return true in this case
Only if called as a function. If called as a procedure they return nothing.
So. If you need a
RETURN use the call in function style. Then a perfect designed function should do nothing more. To change parameters is normaly o.k.
If the subroutine should do more then to produce a return value (the side effect is important) it should be called in the procedure style.
But this is all should bubble - I never use DO except in rare cases where I need DO .. IN ..
:D
Lutz
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]