ABC words: Difference between revisions

m
Line 1,502:
CFArrayRef list = fn WordList
CFStringRef string
long a, b, cabc
 
if ( list ) == NULL then NSLog( @"Unable to load word list") : exit fn
for string in list
aabc = instr( 0, string, @"a")
if ( aabc == NSNotFound ) then continue
babc = instr( aabc, string, @"b")
if ( babc == NSNotFound ) then continue
cabc = instr( babc, string, @"c")
if ( cabc != NSNotFound ) then NSLog( @"%@", string )
next
end fn
68

edits