Talk:The Twelve Days of Christmas: Difference between revisions

Content added Content deleted
(→‎question about Ruby: tried to answer question)
(→‎question about Ruby: added signature)
Line 59: Line 59:
What happens when the same program is put on a system where there are no   '''\n'''   indicators in the file, but the ''newline'' is instead, ''indicated'' by the end-of-record in the file structure.   This would be the case of (generic) OS (MVS) or CMS (both IBM systems). -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 16:14, 22 December 2013 (UTC)
What happens when the same program is put on a system where there are no   '''\n'''   indicators in the file, but the ''newline'' is instead, ''indicated'' by the end-of-record in the file structure.   This would be the case of (generic) OS (MVS) or CMS (both IBM systems). -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 16:14, 22 December 2013 (UTC)


Probably the correct way to split would be split(&/), &/ being the input record separator global variable. I've never seen it used, except for golfing, but Ruby uses it with methods like gets and readline.
Probably the correct way to split would be split(&/), &/ being the input record separator global variable. I've never seen it used, except for golfing, but Ruby uses it with methods like gets and readline.--[[User:Steenslag|Steenslag]] ([[User talk:Steenslag|talk]]) 21:34, 22 December 2013 (UTC)