RPG attributes generator: Difference between revisions
Content added Content deleted
(→{{header|APL}}: Correct to 6 stats instead of 5) |
(→{{header|Commodore BASIC}}: use temp var for sort) |
||
Line 1,247: | Line 1,247: | ||
450 rem sort dice |
450 rem sort dice |
||
460 for x=0 to 2:for y=x+1 to 3 |
460 for x=0 to 2:for y=x+1 to 3 |
||
470 if di(x)<di(y) then |
470 if di(x)<di(y) then t=di(x):di(x)=di(y):di(y)=t |
||
480 next y,x |
480 next y,x |
||
490 return</lang> |
490 return</lang> |