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

Geoff Canyon gcanyon at inspiredlogic.com
Thu Jan 3 11:32:01 EST 2002


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



More information about the use-livecode mailing list