Odd word problem: Difference between revisions

m
m (→‎{{header|REXX}}: changed verbage in the output section header.)
Line 1,105:
proc odd(prev = nothing): bool =
let a = stdin.readChar()
if not isAlpha(TRuneRune(ord(a))):
discard prev()
stdout.write(a)
Line 1,121:
let c = stdin.readChar()
stdout.write(c)
if not isAlpha(TRuneRune(ord(c))):
return c != '.'
 
Anonymous user