Zbigniew Komarnicki escribió:
Hello,

I try to write fuction that return a list of number in range [a,b] with step k, but first i try in command window this code:

/* This work in command window without variables */
kill(all);
m:[];
for i:0 step -3 thru 10 do (m:append(m, [i]), display(i));
display(m);

Here is OK
If you want to reach 10, shouldn't step be a positive number?

--
Mario


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c34bd7e.5000...@telefonica.net

Reply via email to