BBC BASIC for Windows
« OPENIN "" : filename? »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 9:54pm



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.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: OPENIN "" : filename?  (Read 754 times)
5against4
New Member
Image


member is offline

Avatar




PM


Posts: 16
xx OPENIN "" : filename?
« Thread started on: May 14th, 2015, 10:25am »

Hi - this is most likely a very simple question, for which i apologise in advance, but i've checked the Help documents and haven't found the answer.

i'm using OPENIN "" in order to have a dialogue box to ask the user which file is required - but is the selected filename stored anywhere? and if not, can it be?

many thanks
User IP Logged

rtr2
Guest
xx Re: OPENIN "" : filename?
« Reply #1 on: May 14th, 2015, 1:06pm »

on May 14th, 2015, 10:25am, 5against4 wrote:
i've checked the Help documents and haven't found the answer.

It's in the Wiki:

http://bb4w.wikispaces.com/Using+OPENIN+%28etc.%29+with+wildcards

but I would always recommend creating your own File Selector dialogue because you have so much more control than the crude wildcard method gives you. The code isn't all that complicated, especially as you can just copy-and-paste it from the manual:

http://www.bbcbasic.co.uk/bbcwin/manual/bbcwine.html#opensave

Richard.

User IP Logged

5against4
New Member
Image


member is offline

Avatar




PM


Posts: 16
xx Re: OPENIN "" : filename?
« Reply #2 on: May 14th, 2015, 2:14pm »

Thank you Richard - i forgot about the Wiki. This has given me what i need. i take on board what you're saying about the crudity of this method, but for what i'm working on at the moment i just need something quick and dirty - nothing elegant smiley

Thanks again!
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls