Hi Tomas,
Alex, I need to call 'lseek' function. How could I get hold of the
Hmm, I deliberately omitted 'lseek' from the standard system, as I think
it is useful only for very special cases.
For the PicoLisp I/O system it does not make much sense, as reading and
writing is buffered, so that
Hi Tomas,
In the long-term, wouldn't it be better to put the glyph
related stuff into @lib/glyph.l and keep access to the full glyph -
codepoint mapping?
I see, you are thinking of the PDF generator. At the moment, though,
this involves only a few lines of code, and I don't want to blow up
Hi Alex,
I think it is wiser and much easier to write a separate C library
for specialized I/O.
you convinced me:-)
Thanks,
Tomas
--
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe
Hi Alex,
'idx' is deliberately designed in this way. It does only the basic,
straight-forward binary tree operations. This can be quite fast,
because balancing operations (or using self-balancing trees like
splay trees) introduce additional overhead. And - except for
pathological situations
Hi,
The 'call' function seems to disable echo. Also, The Enter key does
not end an input line, Ctrl-J must be used instead.
When I run: (call 'sh -c echo -n 'name: '; read name; echo $name)
It outputs name : and waits for input. I type something (e.g. abc)
but nothing echo. I press the Enter
Hi Kriangkrai,
When I run: (call 'sh -c echo -n 'name: '; read name; echo $name)
It outputs name : and waits for input. I type something (e.g. abc)
but nothing echo. I press the Enter key, nothing happens. I press
Ctrl-J, then it prints abc.
Hmm, I cannot reproduce it in the same way, but I
Hi Alex,
With unescaped string, we don't need to worry escaping (e.g. \
\^), well except ensuring that there is no $} in the string. With
that, we can generate files easily, e.g.
(out t.html (prin {$htmlbody
style=background-color:#EEE...div
class=xxx.../div.../body/html$}))
Best regards,
KS
Hi Kriangkrai,
But what if we want to mix it with expressions?
(let (Clr #EEE Cls xxx)
(pack {$htmlbody style=3Dbackground-color:$} Clr {$
div class=3D$} Cls {$
/div
/body/html$} ))
Then it gets indeed a bit clumsy, but you can use multiple 'here's
Hi Alex,
Yes, it's ok to include only block comment :-)
Best regards,
KS
On Fri, May 8, 2009 at 1:20 AM, Alexander Burger a...@software-lab.de wrot=
e:
Hi Kriangkrai,
But what if we want to mix it with expressions?
=A0 =A0(let (Clr #EEE =A0Cls xxx)
=A0 =A0 =A0 (pack {$htmlbody