ABC words: Difference between revisions
→{{header|FutureBasic}}: Made function more efficient
(→{{header|Vlang}}: Rename "Vlang" in "V (Vlang)") |
(→{{header|FutureBasic}}: Made function more efficient) |
||
Line 1,500:
void local fn ABCWords
CFStringRef string
▲ CFArrayRef wordList
if ( list ) == NULL then NSLog( @"Unable to load word list") : exit fn▼
a = instr( 0, string, @"a")
▲ for string in wordList
if ( a ==
if (
c = instr( b, string, @"c")
if ( c != NSNotFound ) then
▲ next
▲ NSLog(@"Unable to load word list")
end fn
|