Onto Smalltalk-Patrick Henry Winston-Audio Book

Profile photo for Mark Roberts
Not Yet Rated
0:00
Audiobooks
16
11

Description

A sample of a reference book

Vocal Characteristics

Language

English

Voice Age

Middle Aged (35-54)

Accents

British (England - Yorkshire & Humber) British (General) British (Received Pronunciation - RP, BBC)

Transcript

Note: Transcripts are generated using speech recognition software and may contain errors.
onto Small Talk By Patrick Henry Winston. Chapter 16 How to Write Iteration statements 296 In this section, you'll learn how to tell small talk to repeat a computation with small talks. Well, true well, false and times repeat messages. 297. Small talks Iteration messages enable methods to do computations over and over until the test has been satisfied. Small talks. Well, true Message, for example, consists of a receiver, the wild, true selector and an argument. The receiver and arguments are both blocks receive a block. Well, true argument. Block 298. As you learned in segment 145 blocks, Like all other entities in small talk, are objects. A receiver block is an object that responds to the well true message by evaluating itself, noting whether the answer produced by the receiver block is true and, if so, evaluates in the argument Block the evaluate Receiver block evaluate argument. Block cycle continues as long as the receiver block evaluates to true 299. For example, the following method fragment repeatedly detriments an integer and by one until N is zero. Open brackets N is equal to zero. Close brackets Well, true colon open brackets n equals n minus one. Close brackets