home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Really Useful CD 1
/
ReallyUsefulCD1.iso
/
extras
/
languages
/
smalltalk
/
_smalltalk
/
tests
/
cond
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1987-12-30
|
241 b
|
11 lines
Class Main
[
main | i |
((2 < 3) ifTrue: ['correct']) print.
(2 < 3) ifTrue: ['correct' print ].
i <- 1.
[i < 3] whileTrue: [i <- i + 1].
(i >= 3) ifTrue: ['correct' print]
]