Please help me debug this



for a start, note that s:[a,b,c];   delete(a,s) --> returns [b,c]  BUT 
DOES NOT CHANGE s.



I have not read beyond the first line of your program.

RJF