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

Scott Slaugh xslaugh at hotmail.com
Wed Jan 2 19:06:01 EST 2002


----- 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
>



More information about the use-livecode mailing list