<?xml version="1.0"?>
<form>
<bugnb>
1357
</bugnb>
<subject>
2nd element of a SortedList cannot be removed by remove!
</subject>
<description>
Removing the 1st, 3rd, 4th, ... element of a SortedList by the function remove! works fine.

But when removing the 2nd element of a SortedList with remove! one gets:

Unhandled Exception: 
Assert failed in sal_slist, at line:129: ~(empty?(m))

NB: remove works without problems. Only remove! causes the trouble.
</description>
<workaround>
yes
</workaround>
<wadescr>
using remove instead of remove!
</wadescr>
<priority>
2
</priority>
<bugfile>
/aldor.org/website/bugs/bugreport_1357/removebug.as
</bugfile>
<cmdline>
aldor -Fx -laldord removebug.as
</cmdline>
<version>
1.0.0
</version>
<email>
christian.aistleitner@gmx.at
</email>
<inform>
yes
</inform>
<design>
no
</design>
<typeinf>
no
</typeinf>
<parsing>
no
</parsing>
<memory>
no
</memory>
<optimlvl>
Q0
</optimlvl>
<libaldor>
yes
</libaldor>
<algebra>
no
</algebra>
</form>
