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

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


I should mention:

put the number of chars into X doesn't work with binary field contents. I
have a feeling the binaryDecode function is what's needed. I just need to
know the parameters...

-Chipp

-----Original Message-----
From: use-revolution-admin at lists.runrev.com
[mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Chipp Walters
Sent: Wednesday, January 02, 2002 5:43 PM
To: Use-Revolution
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.

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