reading from / writing to file : 2 dumb questions

Richmond richmondmathewson at gmail.com
Tue Sep 9 14:20:27 EDT 2014


On 09/09/14 21:18, jbv at souslelogo.com wrote:
>>    No; it isn't very logical. Ask Kevin Miller or Dr Scott Ranier.
>>
>> Why is it so? Dunno, and don't really care; after all
>> once one has worked out that is the the things are one works with those
>> things.
>>
>> I think you will find this is a cross-platform "problem".
>>
>> Here's what is written in the dictionary:
>>
>> "write "one 222" to file tFile -- Writes to the start of the file
>>      write "two" to file tFile at 4 -- Writes to the file from character 4
>>      write " three" to file tFile at EOF -- Writes to the end of the file
>>      write " four" to file tFile at end -- Writes to the end of the file"
>>
>> which seems quite straightforward.
>>
> Yes, that's straightforward as long as you stick to a simple
> open file / write / close file operation.
> Maybe the existence of a pointer, as mentioned by Jacques
> should be added to the dictionary...

The dictionary is always 3 steps behind your brilliant mind and my 
brilliant mind . . . LOL

Richmond.

> jbv
>
>
> _______________________________________________
> 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