'Twould be nice, but I don't think so. You have to do something with the function's return value. I think George's suggestion was an appropriate way to handle that value. It's pretty much right out of the reference manual. But isn't what you're using FILES$ rather than FILE$? Joe Richard Goodman wrote: >Thanks to G. Beckman, Joe Wilkins and Bernie Wylde for your responses to my >question. I will have to study them in reference to my code to see if I can >understand the problem and a solution. > >Joe wrote: > ><<<I'm pretty sure that you'll find that cancelling the dialog does not >exit the routine, but continues on without a file name. Cancelling must >exit the routine or you're going to have that kind of response to it.>>> > >I thought the runtime was supposed to handle all the processing of a FILE$ >dialogue box. > > >Richard > > > >-- >To unsubscribe, send ANY message to <futurebasic-unsubscribe@...> > > > >