ABC problem: Difference between revisions
m
→PureBasic: Iterative
m (→JS ES6 Functional: Factored a conditional statement out of block spelling function) |
|||
Line 5,076:
Procedure.s can_make_word(word.s)
Define letters.s
Define
Define
For index1=1 To Len(word)
index2=1 : match=#False
Line 5,104:
PrintN(can_make_word("COnFUSE"))
Input()</lang>
===PureBasic: Recursive===
<lang purebasic>Define.i
|