[futurebasic] Re: [FB] Working With Files

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2010 : Group Archive : Group : All Groups

From: Brian Stevens <bstevens33@...>
Date: Wed, 20 Jan 2010 16:56:23 -0700
On Jan 20, 2010, at 2:34 PM, Max Taylor wrote:

>>> 3. Should I even be using "read file" at all?
>> Read File is the best choice IMO.
>
> I had noticed that in the Examples "Static HITextView" a file is  
> opened and loaded into a HITextView without any of the FB "Open"  
> commands. It uses "fn TXNReadFromCFURL" instead, hence whether or  
> not "read file" was the best way to go here as I would like to find  
> the method that works best into the future. Any thoughts?


That example is a case of a MLTE call that is specifically for text.  
Very appropriate and targeted. The difference is 'Read file' can  
handle virtually any kind of data. Just a matter of finding the right  
tool for the specific requirements.


Brian S