On 11 Jan 2005 at 22:19, Rich Mellor wrote:
(...)
> 1) Older programs which would expect (a6,a5) to point to the command  
> string at the top of the data area.  If we were to adopt this scheme, then  
> a lot of existing programs would immediately not be able to get at any  
> parameters passed to them.  We do not have the software authors or sources  
> to enable us to amend existing programs or re-write them.  I guess we  
> could overcome this by amending the setup job code to have (A5,A0) (?)  
> point to the location of the home directory

No. Let a6,a5 point to where it usually points, i.e. the command string. 
Finding 
the home dir after the command string (for a prog aware of this) is trivial.

> 2) The bigger problem and one which is harder to address...
> How do you decide what is the home directory of a file called  
> win1_basic_exts_turbo_config_exe

Simple. Open_dir win1_basic_exts_turbo_config_exe.
Get the name of the resulting file. This will be the directory name (!).

(...)
Wolfgang
-- 
W. H. Lenerz
www.scp-paulet-lenerz.com
-- 
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to