Obtaining the size of a file

Chipp Walters chipp at chipp.com
Mon Apr 23 03:04:49 EDT 2007


Hi John,

I'm coming rather late to this party. But it does appear you're
missing something important here. I assume you're new to programming.
Here's how historically it's worked in the past. People have used
programs to write other programs, and in doing so, they create
functions and handlers (or objects, methods and procedures) which help
them do many different things.

One of the really cool things about programming is the ability to
create new code from existing code. So, what Richard did so kindly for
you, was to create a universal function which when called correctly
via one-line, would return exactly what you wanted-- namely the
filesize.

This is how many of us program in Rev. We create 'libraries' of these
functions, and then can access them via one or two line calls.

I hope this helps you in better understanding programming concepts.
You are welcome to peruse the free files and tutorials I host at:

http://www.altuit.com/webs/altuit2/RunRev/default.htm
You can also find some good tips of mine at www.revcentral.com, though
I haven't sent out a newsletter in awhile...need to get on that ;-)

Also, Richard hosts many great files and tips at at: www.fourthworld.com
including 'devolution' a mostly complete IDE written totally in Transcript.

Furthermore, Richard also hosts the website www.revjournal.com which
also has many fine articles on how to program in Rev. Good luck!

best regards,

Chipp



More information about the use-livecode mailing list