Ralf Hemmecke wrote:
>
> in the BOOT code below, there is "=> return nil".
> Obviously, I shouldn't interpret the code as if it where SPAD code,
> because then either
>
> a) the while loop ends with lines=nil and the following "null lines"
> would let the function return with result nil, or
> b) substring?(header,line,k) is true and checkExtract returns nil.
>
> Seems that "return" inside a while loop after "=>" is a no-op.
return exits current block, in this case loop. In Spad you
would use break (however, return can give back walue, break
is unable to do so).
--
Waldek Hebisch
[email protected]
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.