how to calculate the length in chars of a binary file?

Chipp Walters chipp at chipp.com
Wed Jan 2 22:06:01 EST 2002


Nope, for some reason that doesn't work.

-----Original Message-----
From: use-revolution-admin at lists.runrev.com
[mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Scott Slaugh
Sent: Wednesday, January 02, 2002 6:04 PM
To: use-revolution at lists.runrev.com
Subject: Re: how to calculate the length in chars of a binary file?


----- Original Message -----
From: "Chipp Walters" <chipp at chipp.com>
To: "Use-Revolution" <use-revolution at lists.runrev.com>
Sent: Wednesday, January 02, 2002 4:42 PM
Subject: how to calculate the length in chars of a binary file?


> I can load a binary file into a field:
>
> put URL "binfile:C:/test.jpg" into fld "test"
>
> how can I figure out the length in characters for that file? I need to
know
> before uploading to a server.

Try this:
put the number of chars of fld "test"

Scott Slaugh
>
> thanks anyone,
>
> Chipp Walters
>
>  ----------------------------
> |    ___   ____       _ __   |
> |   / _ | / / /___ __(_) /_  |
> |  / __ |/ / __/ // / / __/  |
> | /_/ |_/_/\__/\_,_/_/\__/   |
> |   http://www.altuit.com    |
> |      chipp at altuit.com      |
>  ----------------------------
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution



More information about the use-livecode mailing list