IRC Logs for #io Wednesday, 2014-09-17

*** jer has quit IRC01:46
*** OpenSpace has quit IRC01:48
*** bomma has quit IRC01:48
*** c74d has quit IRC01:48
*** igitoor has quit IRC01:48
*** nisstyre has quit IRC01:48
*** Thor has quit IRC01:48
*** Raimondi has quit IRC01:48
*** prologic has quit IRC01:48
*** mal`` has quit IRC01:48
*** brixen has quit IRC01:48
*** petr has quit IRC01:48
*** pdurbin has quit IRC01:48
*** endou____ has quit IRC01:48
*** gatesphere has quit IRC01:48
*** ChanServ has quit IRC01:48
*** endou has quit IRC01:48
*** jer has joined #io01:53
*** gatesphere has joined #io01:54
*** petr has joined #io01:54
*** Raimondi has joined #io01:54
*** OpenSpace has joined #io01:54
*** bomma has joined #io01:54
*** c74d has joined #io01:54
*** endou____ has joined #io01:54
*** igitoor has joined #io01:54
*** mal`` has joined #io01:54
*** nisstyre has joined #io01:54
*** Thor has joined #io01:54
*** prologic has joined #io01:54
*** brixen has joined #io01:54
*** endou has joined #io01:54
*** debris` has joined #io01:54
*** pdurbin has joined #io01:54
*** ChanServ has joined #io01:54
*** gatesphere has quit IRC03:12
*** bjz has joined #io06:06
*** ElMonkey_ has joined #io06:47
*** TheMonkey has quit IRC06:51
*** ElMonkey_ has quit IRC07:29
*** ElMonkey has joined #io07:29
*** bjz_ has joined #io07:52
*** bjz has quit IRC07:52
*** ijon_ has joined #io08:56
*** OpenSpace has quit IRC10:01
*** bjz_ has quit IRC11:09
*** bjz has joined #io11:09
*** fredreichbier has joined #io12:23
*** IoNovice has joined #io13:45
IoNovicehey guys i am trying to do a simple array sort with the elements of the array taken in as command line arguments. I keep getting a value of nan mixed into my sorted array. I can not figure out how to test for nan. Any hints? Here is my code
IoNoviceFor instance with my input on the command line: io 3 20 21 22 25 4 2 I get: list(nan, 2, 3, 4, 20, 21, 22, 25)13:59
fredreichbierIoNovice, hi!14:01
fredreichbierIoNovice, i think the "nan" is because of the first item in System args which is in your case14:01
IoNoviceok I was wondering about that. Is there a way to test whether a value is nan or even better begin a loop at 1 instead of 014:03
fredreichbierIoNovice, there is `isNan`:
fredreichbierand there is `slice` to create a sublist14:04
IoNovicefredreichbier:  thanks a lot this should get me what I want14:05
*** IoNovice has quit IRC14:09
*** OpenSpace has joined #io14:39
*** IoNovice has joined #io15:35
*** IoNovice has quit IRC16:16
*** IoNovice has joined #io16:19
*** IoNovice has quit IRC16:20
*** IoNovice has joined #io16:21
*** bjz has quit IRC17:00
*** endou____ has quit IRC17:00
*** bjz has joined #io17:00
*** endou____ has joined #io17:00
*** TheMonkey has joined #io17:02
*** ElMonkey has quit IRC17:05
*** IoNovice has quit IRC17:08
*** jer has quit IRC17:28
*** jer has joined #io17:28
*** fredreichbier has quit IRC17:57
*** petr has quit IRC18:06
*** petr has joined #io18:12
*** ijon_ has quit IRC18:29
*** ElMonkey_ has joined #io19:05
*** TheMonkey has quit IRC19:08
*** gatesphere has joined #io21:10
*** gatesphere has quit IRC21:52
*** gatesphere has joined #io22:15

Generated by 2.11.0 by Marius Gedminas - find it at!