From: Raymond C. Bryan (raycomp_at_visi.com)
Date: 2004-09-06 18:11:09
>I'm using a BASIC program to test all kind of functions of CBM-HD. At the
>moment I'm testing the ability to handle subdirectories. For this reason I
>want to use the DIRECTORY command as this command doesn't cause the CBM to
>overwrite the PRG as a LOAD"$",10 would do. To be able to use the program
>for more then one device, I set a variable in line 1: U=10. If I need to
>test things for device 11, I only have to change line 1. The problem however
>is that I have no idea how to use this variable in combination with the
>DIRECTORY command. 'directoryu10,d0' does work, 'directoryu u,d10' does not.
Its been along time since Fred Bowen showed me but my recall is that
you put the u in to () as
diR on u(u),d0.
--Ray
--
---------------------------------------------------------------
|Raymond C. Bryan 651-642-9890 vox | The battle is sometimes |
|Raymond Computer 651-642-9891 fax | to the small for
|
|795 Raymond Ave -email: raycomp | the bigger they are |
|St Paul MN 55114 @visi.com | the harder they fall. |
|USA Amiga - Commodore | -- James Thurber -- |
http://www.raymondcomputer.com
---------------------------------------------------------------
Message was sent through the cbm-hackers mailing list
Archive generated by hypermail pre-2.1.8.