if (token[0].equals("insert")||token[0].equals("i")) {
if (token.length<3 || (token.length>3 && !token[3].startsWith("//")) )
throw new IllegalArgumentException();
int value=Integer.parseInt(token[2]);
int pos=Integer.parseInt(token[1]);
lista.Insert(pos,value);
wy.format("wstawienie: lista[%s] <- %s\n",pos,value);
}
else if (token[0].equals("delete")||token[0].equals("d")) {
if (token.length<2 || (token.length>2 && !token[2].startsWith("//")) )
throw new IllegalArgumentException();