Anonymous user
ABC problem: Difference between revisions
→{{header|Elena}}
No edit summary |
|||
Line 1,991:
("",true)</pre>
=={{header|Elena}}==
ELENA 3.
<lang elena>import system'routines.
import system'collections.
Line 2,003:
var list := ArrayList new:blocks.
^ $nil == self literal; upperCase;
[
var index := list indexOfElement
((:word)
if (index>=0)
Line 2,024:
var words := ("", "A", "BARK", "BOOK", "TREAT", "COMMON", "SQUAD", "Confuse").
words
[
console
].
].</lang>
|