Changes between Version 5 and Version 6 of Ticket #126, comment 5
- Timestamp:
- Apr 7, 2017, 9:27:03 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #126, comment 5
v5 v6 13 13 startingLetter := $A. 14 14 15 iter rations := (charToDisplay / maxCharBuffer).15 iterations := (charToDisplay / maxCharBuffer). 16 16 17 iter rations isInteger ifFalse:[18 iter rations := (iterrations asFloat) floor + 1.17 iterations isInteger ifFalse:[ 18 iterations := (iterations asFloat) floor + 1. 19 19 ]. 20 20 21 (1 to: iter rations) do: [:aNumber |21 (1 to: iterations) do: [:aNumber | 22 22 aLetterCollection add: (((startingLetter asInteger - 1) + aNumber) asCharacter). 23 23 ].