ABC words: Difference between revisions
Content added Content deleted
Line 2,699: | Line 2,699: | ||
mut text :='' |
mut text :='' |
||
unixdict := os.read_file('./unixdict.txt') or {panic('file not found')} |
unixdict := os.read_file('./unixdict.txt') or {panic('file not found')} |
||
for |
for word in unixdict.split('\n') { |
||
⚫ | |||
text += count++.str() + ': ' + word + '\n' |
|||
} |
|||
} |
} |
||
println(text) |
println(text) |
||
} |
} |
||
⚫ | |||
fn abc_word(word string) bool { |
|||
⚫ | |||
return false |
|||
} |
|||
⚫ | |||
{{out}} |
{{out}} |
||
<pre> |
<pre> |