[BUG] write to file
Mike Kerner
MikeKerner at roadrunner.com
Tue Jan 26 11:27:43 EST 2016
Peter,
I would consider it high praise, not something else. Over here in The
Colonies, there are many references to "The Mothership", and I can't think
of one that is derogatory.
On Tue, Jan 26, 2016 at 11:22 AM, Richard Gaskin <ambassador at fourthworld.com
> wrote:
> Kay C Lan wrote:
> > On Tue, Jan 26, 2016 at 9:49 AM, Richard Gaskin wrote:
> >
> >> Good find. How did you come across that bit of archaeology?
> >
> > Not that good, what you really need to know is whether the enhancement
> > request was ever actioned.
>
> I'd guess the URL form remains as Jacque described, a whole-file
> operation. It only takes a couple extra lines to do the open/write/close
> alternative, and in the minority of cases in which we need fine-grained
> control over file I/O it's no more onerous than the only file I/O syntax
> the root tongue, HyperTalk, offered.
>
> It'd be nice to have, but the team has a long list ahead of them, and
> relatively few engine contributions from the community to fill in the gaps
> on these nice-to-haves.
>
> I'm just grateful we have the various "open file" modes at all - being
> able to use "update" and "append" are godsends for a wide range of tasks
> involving large files.
>
> Even better, Mark Waddingham updated the file I/O stuff a few versions
> back so that it can accept >32-bit values for the length in the file spec,
> allowing us to traverse files > 4 GB. It's not often I have to do that,
> but I discovered the older limitation when I was given a 6.2 GB file to
> slice and dice and now I can do so with ease, using "seek" to jump around
> in the file to get the parts I need.
>
>
> > I was searching the QCC DB to ensure I wasn't duplicating a Bug report
> > when, like most archaeological digs, I stumbled across a gem.
>
> Your find prompted me to do a search in the bug DB for all reports that
> include "scott at runrev.com" among the commenters and found some other gems
> from the olden days, like this useful tidbit I never knew before (is this
> documented?):
>
> ...you can use numbers of the form "0xFFFFFFFF" directly
> in scripts, saving you the rigamarole of using numToChar
> to build them up...
> <http://quality.livecode.com/show_bug.cgi?id=295#c5>
>
> --
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> ____________________________________________________________________
> Ambassador at FourthWorld.com http://www.FourthWorld.com
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
--
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
and did a little diving.
And God said, "This is good."
More information about the use-livecode
mailing list