i want to rotate a list and i get always a syntax error and i can't find it. Hope someone can help me, here the code:
Rotate_list[list_, pos_] :=
for [i = 0, i < pos, i++,
Syntax::tsntxi: "Rotate_list[list_,pos_]:=for[i=0,<<3>>,Delete[list,1]],Return[list]" is incomplete; more input is needed.
Syntax::sntxi: Incomplete expression; more input is needed.
nice greets, logo