Bill Page wrote:
>
> The FriCAS langue reference in hyperdoc (5.4.6) describes the
> 'iterate' and 'break' commands. I do not see iterate used anywhere in
> library code. Is this only available in the interpreter or is it in
> spad by some other name?
>
'iterate' in Spad is unimplemented. Currently as a workaround one
can use construct like:
for i in 1..10 repeat
i = 5 => "iterate"
do_something()
Of course, instead of "iterate" one could use anything else, but
"iterate" is clearer than alternatives. And, of course the above
only works at top level of loop body.
--
Waldek Hebisch
[email protected]
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/fricas-devel?hl=en.