Hi Henrik,

> To me it seems you need to pass some kind of file name, for instance
> in the app/item.l form, the name of the tempfile. And then the file
> is opened and copied to the blobfile.

yes, a blob is a file.  I think it is stored as a flag indicating it's
presence.  If it is present, the function 'blob' will return a
filename where you can find its content.

> However I simply want to do like this: (put> Article 'body "a really
> long text here, not a file...") and have the text end up in an
> automatically generated blob file. As far as I can see the current
> put> and/or blob! functions working with +Blob can't be made to work
> like this?

Well, if the text is really "really long" then it probably should not
be represented as a string in the first place.  If it is not that
long, I would either use +String instead of +Blob or use +Blob the way
Alex uses it.

I haven't looked at the sources, but maybe there is a way adding such
abstraction/method as you aim for.


UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe

Reply via email to