{"action":"created","issue":{"url":"https://api.github.com/repos/dan200/ComputerCraft/issues/78","labels_url":"https://api.github.com/repos/dan200/ComputerCraft/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/dan200/ComputerCraft/issues/78/comments","events_url":"https://api.github.com/repos/dan200/ComputerCraft/issues/78/events","html_url":"https://github.com/dan200/ComputerCraft/issues/78","id":123833601,"number":78,"title":"Print function stops printing if there is a nil present in the input array.","user":{"login":"alekso56","id":676987,"avatar_url":"https://avatars.githubusercontent.com/u/676987?v=3","gravatar_id":"","url":"https://api.github.com/users/alekso56","html_url":"https://github.com/alekso56","followers_url":"https://api.github.com/users/alekso56/followers","following_url":"https://api.github.com/users/alekso56/following{/other_user}","gists_url":"https://api.github.com/users/alekso56/gists{/gist_id}","starred_url":"https://api.github.com/users/alekso56/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alekso56/subscriptions","organizations_url":"https://api.github.com/users/alekso56/orgs","repos_url":"https://api.github.com/users/alekso56/repos","events_url":"https://api.github.com/users/alekso56/events{/privacy}","received_events_url":"https://api.github.com/users/alekso56/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-24T20:47:47Z","updated_at":"2015-12-25T13:47:33Z","closed_at":null,"body":"Originally Kubuxu came up with this bug/feature request linked here:\r\nhttps://github.com/Kubuxu/ComputercraftLua/commit/17dd0e427bb2bdf00845b86b3b4cc15c3467826c\r\n\r\nVERSION:\r\n1.41 to 1.76 (probably earlier too)\r\nDESCRIPTION:\r\ni typed print(1,2,nil,3) and it printed 1 2\r\nEXPECTED RESULT:\r\n1 2 nil 3\r\nREPRODUCTION STEPS:\r\nlua -> print(1,2,nil,3)"},"comment":{"url":"https://api.github.com/repos/dan200/ComputerCraft/issues/comments/167236177","html_url":"https://github.com/dan200/ComputerCraft/issues/78#issuecomment-167236177","issue_url":"https://api.github.com/repos/dan200/ComputerCraft/issues/78","id":167236177,"user":{"login":"BombBloke","id":12162603,"avatar_url":"https://avatars.githubusercontent.com/u/12162603?v=3","gravatar_id":"","url":"https://api.github.com/users/BombBloke","html_url":"https://github.com/BombBloke","followers_url":"https://api.github.com/users/BombBloke/followers","following_url":"https://api.github.com/users/BombBloke/following{/other_user}","gists_url":"https://api.github.com/users/BombBloke/gists{/gist_id}","starred_url":"https://api.github.com/users/BombBloke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BombBloke/subscriptions","organizations_url":"https://api.github.com/users/BombBloke/orgs","repos_url":"https://api.github.com/users/BombBloke/repos","events_url":"https://api.github.com/users/BombBloke/events{/privacy}","received_events_url":"https://api.github.com/users/BombBloke/received_events","type":"User","site_admin":false},"created_at":"2015-12-25T13:47:33Z","updated_at":"2015-12-25T13:47:33Z","body":"Kubuxu says spec is to print the whole list, you say it's spec not to. Where do you guys get these specs from?\r\n\r\nFWIW, I'd run a basic \"for n = 1, whatever do\" loop that manually indexes into the arg table on each iteration. Either use #arg or arg.n in place of \"whatever\", depending on the desired behaviour. As far as I'm aware, this'd be more efficient than calling an iterator function every time the loop repeats, wouldn't it be?"}}