RPG attributes generator: Difference between revisions
Content added Content deleted
(→{{header|Commodore BASIC}}: Don't need to fully sort the dice, just put the smallest one last) |
|||
Line 1,248: | Line 1,248: | ||
460 for x=0 to 2 |
460 for x=0 to 2 |
||
470 if di(x)<di(x+1) then t=di(x):di(x)=di(x+1):di(x+1)=t |
470 if di(x)<di(x+1) then t=di(x):di(x)=di(x+1):di(x+1)=t |
||
480 next |
480 next x |
||
490 return</lang> |
490 return</lang> |
||