On Thu, 7 Jul 2011, amaryl wrote:
is there any possibility to delete stuff inside loops?
When I use delete within a loop I get
Sorry, this command is not available in loop mode
The danger is that if "delete" is allowed one could delete
variables that are required for the integrity of the loop.
Here's a trivial example
scalar i
loop i=1..4
delete i
endloop
But there are many possibilities for much less obvious trouble
caused by deleting scalars (and also series or lists) inside
loops.
However, it seems safe enough to allow deletion of matrices,
strings and bundles in loops, so this is now enabled in CVS.
Allin Cottrell