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

Chipp Walters chipp at chipp.com
Thu Jan 3 12:59:01 EST 2002


Thanks Geoff. I'll try it.

I was putting it in a variable to send it up to the server, but then putting
it in a field to check the length. Hope this works.

-Chipp

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


At 9:09 PM -0600 1/2/02, Chipp Walters wrote:
>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...

You can't put a binary file into a field; that automatically makes it text.
Instead, keep it in a variable. Then I think the length function should tell
you how big it is (probably the number of characters would work as well).

regards,

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