lua-users home
lua-l archive

Re: calling script with dobuffer doesnt work

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi!
I don't really know much about lua yet, but I just came to think one thing.
As you read the stuff from a file
(maybe to a string) and are giving the size of the buffer to dobuffer, are
you sure you're not accidently giving the size
of the string (characters + '0円') or only the data in it (characters without
the tailing '0円')?
Rolf
----- Original Message -----
From: "Matthias Gall" <matthias@sechsta-sinn.de>
To: "Multiple recipients of list" <lua-l@tecgraf.puc-rio.br>
Sent: Monday, February 26, 2001 11:43 AM
Subject: Re: calling script with dobuffer doesnt work
> > Have you embedded newlines into your buffer?
>
> What exactly do you mean? I read the script from a file into the buffer
and
> don't change anything, so CR and LF are still there (I dumped the buffer
and
> it looked okay).
>
> Matt
>
>

AltStyle によって変換されたページ (->オリジナル) /