From: Mike H <postmaster@ada-augusta.demon.co.uk>
Subject: Re: Probably no great leap forward?
Date: Sat, 8 Feb 2014 14:47:33 +0000
Date: 2014-02-08T14:47:33+00:00 [thread overview]
Message-ID: <szQPq2CFOk9SFwcx@ada-augusta.demon.co.uk> (raw)
In-Reply-To: yT0IinJUkW9SFw8b@ada-augusta.demon.co.uk
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
next prev parent reply other threads:[~2014-02-08 14:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-07 23:15 Probably no great leap forward? Mike H
2014-02-08 8:38 ` ake.ragnar.dahlgren
2014-02-08 8:54 ` Stephen Leake
2014-02-08 14:47 ` Mike H [this message]
2014-02-08 19:26 ` tmoran
2014-02-08 19:56 ` Simon Wright
2014-02-08 21:46 ` Brian Drummond
2014-02-08 20:26 ` sbelmont700
2014-02-09 16:16 ` Mike H
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox