writing to binary data at arbitrary position
alex at tweedly.net
Fri Sep 15 15:31:34 EDT 2006
Viktoras Didziulis wrote:
>What is the fastest way (in Rev), for instance, to insert 3 bytes of binary
>data after the 465th byte of data stored in variable myVar using put, seek
>or whatever else is available? Or is the repeat loop the only way to do
put char 465 of myVar & "abc" into char 465 of myVar
(I think - haven't done any timing tests; and also haven't catered
specifically for cases where myVar doesn't already have 465 chars in it,
Alex Tweedly alex at tweedly.net http://www.tweedly.net
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.4/448 - Release Date: 14/09/2006
More information about the Use-livecode