[futurebasic] Re: [FB] FILES$ (open)

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

From: Robert Covington <artlythere@...>
Date: Tue, 19 Jan 2010 01:02:21 -0500
Brian, the code you have there works fine here with FBtoC, by itself?  
I get  a dialog and it prints it to a window. (quickly)  (your  
_fileOpen option getting called? Set a beep before the long if to  
make sure)

Not sure why that is not working , but try getting a free copy of  
Text Wrangler from BareBones software ( http://www.barebones.com/ 
products/TextWrangler/download.html )  and you can then run a search  
(Multi File Search) for many of your recent FB topic keywords in the  
FBtoC (or FB4) examples, and keep your creativity train on track  
faster than waiting for the list at times for some things.

See NavDialog demos in FBToC/FB5 examples, Files folder. They are   
more modern and give you more options.

rc


On Jan 19, 2010, at 12:35 AM, Brian Heibert wrote:

> Hi,
>
> I got this code to show a open dialog and open a file
> But it isn't working in FBtoC
>
> case _fileopen
> long if ( files$( _FSSpecOpen,, "FSSpecOpen", fileSpec ) )
> open "I", 1, @fileSpec
> while ( eof(1) == 0 )
> line input #1, s
> print s
> wend
> close
> end if
>
> How do you display a open dialog and open a file using FBtoC?
>
> Brian
>
> --
> To unsubscribe, send ANY message to: futurebasic- 
> unsubscribe@...
>