BBC BASIC for Windows
« Filename capture from openin("") »
Welcome Guest. Please Login or Register. Apr 5th, 2018, 10:11pm
ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018. Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.
If you require a dump of the post on your message board, please come to the support board and request it.
Topic: Filename capture from openin("") (Read 525 times)
Richard Lumb Guest
Filename capture from openin("")
« Thread started on: Dec 8th, 2009, 2:38pm »
I have been trawling around help files to find a way to grab the filename when a file is opened for input using the wildcard openin("") function. Is there a system variable or memory location I can retrive this information from? I need to place this file name in a Listbox window Thanks in advance.
Re: Filename capture from openin("")
« Reply #1 on: Dec 8th, 2009, 3:00pm »
Quote:
I have been trawling around help files to find a way to grab the filename when a file is opened for input using the wildcard openin("") function. Is there a system variable or memory location I can retrive this information from?
Doing it 'properly' gives you much more control, such as being able to set the title etc.
Richard.
Logged
Richard L Guest
Re: Filename capture from openin("")
« Reply #2 on: Dec 8th, 2009, 3:04pm »
OLD **Noobie** DOH!! I wasnt sure how to edit my last post but, I just found the answer in the general area, creating a data structure to use for the job. I thought this was just a complex way of opening/saving a file with a known name.