From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_05,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!news.astraweb.com!border6.a.newsrouter.astraweb.com!cyclone03.ams2.highwinds-media.com!news.highwinds-media.com!voer-me.highwinds-media.com!post02.fr7!fx07.fr7.POSTED!not-for-mail Message-ID: From: Mike H Reply-To: Mike Hopkins Newsgroups: comp.lang.ada Subject: Re: Probably no great leap forward? References: MIME-Version: 1.0 Content-Type: text/plain;charset=us-ascii;format=flowed User-Agent: Turnpike/6.07-M (<88x$+ztU77fOg5diNK+NqJsFKu>) NNTP-Posting-Host: 83.104.138.185 X-Complaints-To: abuse@demon.net X-Trace: 1391871107 83.104.138.185 (Sat, 08 Feb 2014 14:51:47 UTC) NNTP-Posting-Date: Sat, 08 Feb 2014 14:51:47 UTC Date: Sat, 8 Feb 2014 14:47:33 +0000 X-Received-Body-CRC: 2595249123 X-Received-Bytes: 1743 Xref: number.nntp.dca.giganews.com comp.lang.ada:184724 Date: 2014-02-08T14:47:33+00:00 List-Id: I wrote ... It is ... currently launched from the PC command line. Perhaps I should have explained that, it is currently launched from a DOS bat file and it is the bat file that is launched from the command line. Is a bat file an "executable"? viz. :begin pause CD C:\Documents and Settings\Administrator\My Documents\My Ada\Sudoku_2\ Sudoku_check.exe goto begin In other words the original program is little more than a quick and dirty fix that has the complete file paths of input file and output file set in concrete. A cleaner version would have those paths de-coupled. They would have default values that, if necessary, could be changed by a Windows dialogue. If I understand things correctly, that would require an interface to Windows. I seem to remember hearing about a simplified interface for student use (Brighton?). -- Knowledge is knowing a tomato is a fruit Wisdom in knowing not to put it in the fruit salad. Mike