Re: [q-lang-users] Just starting with Q
Brought to you by:
agraef
From: Burton S. <kr...@gm...> - 2006-08-22 02:42:47
|
On 8/21/06, Albert Graef <Dr....@t-...> wrote: > In any case, if you get that 'cat <<File>>' response you mentioned > earlier, something is going severely wrong in the interpreter; your > definition should *never* return that value. It should either bail out > with an "error in conditional" if feof F fails to evaluate, or return > (). So if the problem persists, it's most likely an obscure bug in the > interpreter, and I'd appreciate any info that could help me to find out > what's going on there. > > BTW, what system are you running Q on? I'm on Gentoo Linux, but I think I found the problem (which is my fault, I would guess, but might be interesting for you to know about). I was playing around running q with the --no-prelude option just to cut down on the defined symbol space. It turns out the code works fine without the option, but fails with it (no prelude loaded). This could be interesting to you since the code I wrote doesn' actually use any of the prelude functions; maybe there's a bit of code in the prelude loading code that sets something up in the interpreter that is causing this problem. Just a thought. So I won't be doing that anymore, or at least until it gets fixed or someone tells me what I might be doing wrong. -- burton samograd kr...@gm... kruhft.boldlygoingnowhere.org www.myspace.com/kruhft |