Input/Output for lines of text: Difference between revisions

Add Factor
(Add Factor)
Line 143:
doStuff(readln.idup);
}</lang>
 
=={{header|Factor}}==
<lang factor>USING: io kernel strings ;
IN: input-output
 
GENERIC: do-stuff ( obj -- )
M: string do-stuff print ;
 
readln drop [ do-stuff ] each-line</lang>
 
=={{header|FreeBASIC}}==
1,808

edits