On May 27, 2006, at 8:33 AM, Alex Tweedly wrote:
I was trying to use binaryDecode to get some data out of a string; the
format is simple
- 4 digit number
- a space
- 4 digit number
- a space
- 12 digit number
...
I decided to have a go at using binaryDecode (thanks to Jim Ault for
suggesting this), because it would be a single statement and
potentially faster (the real case has more variables and decoding to
do)
get binaryDecode("a4xa4xa12", lV, tVal1, tVal2, tVal3)
i.e. put 4 chars into the first variable, skip one char, 4 chars into
next var, skip, 12 chars into next var.
Alex,
Sorry about the crash ;^) but shouldn't that be "a4x1a4x1a12" ? (Note
the ones after the x's)
Jim Lyons
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution