Harsh lessons in binaryDecode
Jim Lyons
teacherjim42 at gmail.com
Sat May 27 14:01:02 EDT 2006
I previously wrote and alex replied:
>
>> Alex,
>> Sorry about the crash ;^) but shouldn't that be "a4x1a4x1a12" ?
>> (Note the ones after the x's)
>
> Nope. The docs say
>
>> Parameters:
>> The formatsList consists of one or more dataTypes, each followed
>> optionally by an amount. A dataType is one of the following single
>> letters:
>>
> Note - "...followed *optionally* by an amount..."
>
> But thanks for the sympathy :-)
Whoops, I picked up on the "optionally" right after I hit Send. I'm
really much better at lurking than helping. :^/
I did verify that in Rev 2.6 and Rev 2.7.1 (Mac OS 10.3.9) that you get
a big time crash if the number of variables is less than the number of
format specs.
Jim Lyons
More information about the use-livecode
mailing list