Hi Guys, Jeremiah (Neumann) on #io found a bug in File readLines which meant the first line was not included in the List returned. I've attached a patch that...
Ooops... That patch seems to be an empty file.
Files IoVM-clean/io and IoVM/io differ
diff -u -r IoVM-clean/IoFile.c IoVM/IoFile.c
--- IoVM-clean/IoFile.c...
Thanks in advance. :-) 1. Where can I find an example of a program that makes use of user input? 2. How can I load in and parse another file in a script, so I...
John Nowak
john@...
Oct 3, 2005 12:37 pm
7062
Thanks in advance. :-) 1. Where can I find an example of a program that makes use of user input? 2. How can I load in and parse another file in a script, so I...
John Nowak
lists@...
Oct 3, 2005 12:39 pm
7063
... Take a look at the Sample Program on this page: <http://lineman.net/node/499> Before you can run it, you have to replace all "count" with "size". ... I...
... Is there any reason that is better than this: doFile(launchPath with("/another.io")) Is Path deprecated? I don't see it documented anywhere. Thanks for the...
John Nowak
lists@...
Oct 3, 2005 2:28 pm
7065
... Quite the opposite. Path was recently added. doFile executes the file in the context of the target. "Lobby doFile" uses the lobby as the target, so any...
... What does it do that I can't do with Lobby launchPath? ... That is indeed what I want. - John...
John Nowak
lists@...
Oct 4, 2005 3:02 am
7067
... Considering launchPath is merely a Sequence which describes the current path, and Path is an object which represents a path (and contains slots which can...
Jeremy Tregunna
jtregunna@...
Oct 4, 2005 4:34 am
7068
... Actually, Path only contains one slot which doesn't seem to do anything other than what I presented. Please enlighten me, I'm genuinely curious... I...
John Nowak
lists@...
Oct 4, 2005 5:13 am
7069
... I realize this, but for example, if you have a specific method to add to an object which works on paths, it would make more sense to include all such...
Jeremy Tregunna
jtregunna@...
Oct 4, 2005 9:25 pm
7070
... Yes, I just added Path as a step in that direction but haven't gotten around to finishing it yet. -- Steve...
I just have a little question here; why does Path with() return a Sequence? Io> Path with(Lobby launchPath) type ==> Sequence Should it not return the Path...
Jeremy Tregunna
jtregunna@...
Oct 5, 2005 5:50 am
7072
Sorry to reply to myself, but I forgot to add one thing. ... I mean, this is the way File works (as a quick example); consider: Io> File open("foo") type ==>...
Jeremy Tregunna
jtregunna@...
Oct 5, 2005 5:58 am
7073
Is there anyone here who can provide me with a quick example of piping data into Io? I was under the assumption I could do something like 'x := File clone...
John Nowak
lists@...
Oct 5, 2005 6:23 am
7074
... This might be a good question for the IRC channel. I can help walk you through a solution if you ask there. -- Steve...
... Special note from Quag (he didn't seem to get this email, but offered up a solution and asked me to post it for him): File clone popen("ls") readLines f :=...
Jeremy Tregunna
jtregunna@...
Oct 5, 2005 7:44 am
7076
compiled io 20050910 version. Io> foobar : 10 ==> 10 Io> message(foobar : 10) code ==> setSlot("foobar", 10) Note that I didn't fully write ":=" and instead...
Hey QuantumG, in the message http://groups.yahoo.com/group/iolanguage/message/6705 you say you compiled IoDesktop? So that includes IoServer with sockets,...
... Dunno if the attached patch got accepted by Steve or not. Otherwise it was simply a case of making a visual studio project and adding all the right files. ...
I combined the proposed patches for super/resend bug, and the print bug(patch by Kevin), and "last value" feature in CLI. "Last value" in CLI is, each time you...
Sorry to forgot to include an example of "last value". IoVM version 20050910 Io> 1+2 ==> 3 Io> _+4 ==> 7 Io> I find this useful when using the interactive...
Missed one more thing about ":" and ":=". Sorry again. IoVM-2005-09-10.original/IoVM/parser/IoToken.c IoVM-2005-09-10/IoVM/parser/IoToken.c diff -uNr...
... Thanks for the offer Steve. I'll do that if I have any more trouble with it. Thank you Jeremy as well for Quag's example. I'm still curious how I'd do...
John Nowak
lists@...
Oct 7, 2005 5:51 am
7083
... Indeed it is; work on "File standardInput". ... -- Jeremy Tregunna jtregunna@... "If debugging is the process of removing bugs, then programming...
Jeremy Tregunna
jtregunna@...
Oct 7, 2005 7:06 am
7084
... The problem I have, at least with tcpdump (with -l or not), is that it hangs up waiting for tcpdump to give it the next line if there currently isn't...
John Nowak
lists@...
Oct 7, 2005 7:46 am
7085
... Just answering my own question: Lobby Protos IoVM slotNames - John...
John Nowak
lists@...
Oct 7, 2005 7:52 am
7086
Release 2005 10 07 - reorg ========================== - major reorg of source tree - several important stability fixes - fromTo changed to slice fixes for...
... I'm right now building it on two Macs. What looks rather strange, is that on my brand new G5 with OSX 10.4.2, the make seems to have frozen. The last line...