Faculty of Information Technology
Software Engineering Group

Changes between Version 5 and Version 6 of Ticket #126, comment 5


Ignore:
Timestamp:
Apr 7, 2017, 9:27:03 AM (6 years ago)
Author:
Patrik Svestka
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #126, comment 5

    v5 v6  
    1313startingLetter := $A.
    1414
    15 iterrations := (charToDisplay / maxCharBuffer).
     15iterations := (charToDisplay / maxCharBuffer).
    1616
    17 iterrations isInteger ifFalse:[
    18                         iterrations := (iterrations asFloat) floor + 1.
     17iterations isInteger ifFalse:[
     18                        iterations := (iterations asFloat) floor + 1.
    1919                      ].
    2020
    21 (1 to: iterrations) do: [:aNumber |
     21(1 to: iterations) do: [:aNumber |
    2222                          aLetterCollection add: (((startingLetter asInteger - 1) + aNumber) asCharacter).
    2323                        ].