Changes between Version 4 and Version 5 of Ticket #126, comment 5
- Timestamp:
- Apr 6, 2017, 11:39:17 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #126, comment 5
v4 v5 2 2 3 3 EDIT: (improved the code) 4 EDIT2: (further improved the code) 4 5 {{{ 5 6 "/Smalltalk versionString'6.2.5.2131' … … 12 13 startingLetter := $A. 13 14 14 iterrations := (charToDisplay / maxCharBuffer) floor + 1. 15 iterrations := (charToDisplay / maxCharBuffer). 16 17 iterrations isInteger ifFalse:[ 18 iterrations := (iterrations asFloat) floor + 1. 19 ]. 15 20 16 21 (1 to: iterrations) do: [:aNumber |