Writing to and from a binary file?

Keith (Gulf Breeze Ortho Lab) keith at gulfbreezeortholab.com
Sun Jul 24 20:59:47 EDT 2011


Thanks Phil!

----- Original Message ----- 
From: "Phil Davis" <revdev at pdslabs.net>
To: "How to use LiveCode" <use-livecode at lists.runrev.com>
Sent: Saturday, July 23, 2011 12:22 AM
Subject: Re: Writing to and from a binary file?


> Hi Keith - welcome to the community!
>
> Here is a code snippet I shared on the use-revolution list almost 2 years 
> ago. It shows how to cut an image up into 10 'frames':
>
> http://www.mail-archive.com/use-revolution@lists.runrev.com/msg124691.html
>
> HTH -
> Phil Davis
>
>
> On 7/22/11 3:17 PM, Keith (Gulf Breeze Ortho Lab) wrote:
>> Thanks Mark. Would you happen to know of any examples out there 
>> especially for binary files?
>>
>>
>> The greatest obstacle to discovery is not ignorance --
>> it is the illusion of knowledge. Daniel Boorstin
>> ----- Original Message ----- From: "Mark Schonewille" 
>> <m.schonewille at economy-x-talk.com>
>> To: "How to use LiveCode" <use-livecode at lists.runrev.com>
>> Sent: Friday, July 22, 2011 5:05 PM
>> Subject: Re: Writing to and from a binary file?
>>
>>
>>> Hi Keith,
>>>
>>> Unless I misuderstand you, you should be able to do what you want using 
>>> byte and binfile (and the read and write commands or the put url 
>>> command).
>>>
>>> -- 
>>> Best regards,
>>>
>>> Mark Schonewille
>>>
>>> Economy-x-Talk Consulting and Software Engineering
>>> Homepage: http://economy-x-talk.com
>>> Twitter: http://twitter.com/xtalkprogrammer
>>> KvK: 50277553
>>>
>>> New: Download the Installer Maker Plugin 1.6 for LiveCode here 
>>> http://qery.us/ce
>>>
>>> On 22 jul 2011, at 23:59, Keith (Gulf Breeze Ortho Lab) wrote:
>>>
>>>> Hello All,
>>>>
>>>> I am new to LiveCode and am continuing to explore the language.
>>>>
>>>> Quick question... Is it possible to write to and from a binary file 
>>>> utilizing LiveCode? For example, is it possible to take a graphic file 
>>>> (for example) and split it into several unequal parts, and then put the 
>>>> parts back together again into a single file? I have used another 
>>>> programming package to accomplish such.
>>>>
>>>> FYI: Reading in the Dictionary, I came across the byte and binfile 
>>>> entries. Can these be used to accomplish what I am looking for? If so, 
>>>> then are there any good examples out there?
>>>>
>>>> Thanks, and any help is most appreciated!
>>>>
>>>> Cheers from Florida!
>>>>
>>>> Keith "Boo" L.
>>>
>>>
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your 
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
> -- 
> Phil Davis
>
> PDS Labs
> Professional Software Development
> http://pdslabs.net
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 





More information about the use-livecode mailing list