From: moon!cyberden!phbill@well.sf.ca.us
Newsgroups: comp.sys.atari.8bit
Subject: MyNI_DOS
Date: Sat, 03 Oct 92 14:28:51 PDT
Organization: Indescribable Creations

I've converted my MyDOS CLI program "MyNI_DOS" over to TurboBASIC XL 
(bumping it up to version 1.1) and from there, I'm translating it to 
Action! (making it v.1.2)..  the thing is, the TurboBASIC XL version 
WORKS (because I'm not even near done with translating it to Action!), 
and I'm wondering if anyone would be interested in testing it, and 
eventually me uploading it/posting it.  It's getting near 10 or 12K I 
think, and fully supports MyDOS directories.  The current commands are:

CD-change directory
MK-make directory
DIR-show directory listing
DEL-delete file
COPY-copy file
REN-rename file
LOCK/UNLOCK-lock and unlock files
LOAD-load a binary
RUN-run a binary
RUNB-run a BASIC/TurboBASIC XL program
RUN@-run at address (call an ML routine from memory)
GET-get a block of memory
PUT-put a block of memory
TYPE-type out a file (sort of like COPY from E:ditor)
SHOW-display a file (opposite of TYPE)
EDIT-loads a file and lets you edit (with a VERY crude, slow and buggy
     editor)
ERR-show value of last error
PAUSE-used for pause commands on/off during DIR and SHOW commands
POKE-works like both PEEK() and POKE in BASIC
?-shows list of commands (no descriptions)
Dx:-change drive
BAT-open a file and read from it instead of the keyboard (batch file)
ECHO-turns on & off echo (when on, the commands being read during a BAT
     command will be displayed)


Appending "/S" to the DIR command's filemask will sort the directory 
before it is displayed (or sent to file/P:rinter, etc.)

Appending "/Q" to a filename will abort the command if it already 
exsists. (if you want to TYPE out a file, for example, and you weren't 
sure if it was there already or not, (this is good for in a BAT file), 
just append "/Q" to the name and the command is not done.)

Appending "/A" to a filename will open it for append (if the file is 
being open for write).  (If you wanted to COPY two files together, just 
type something like "COPY FILE1,FILE2/A" and FILE2 will be added to the 
end of FILE1.)



Other commands such as TREE (shows all directories and where they are), 
FIND (finds a file inside directories), FORMAT (oops, forgot that one in 
the beginning!), IF and REPEAT/UNTIL & WHILE/WEND type of looping may be 
added to BAT file running (as well as nested BAT file running!), the 
ability to use variables and strings (ie, have a small BAT program that 
prompts for a file name and then loads it up onto the screen) will all 
eventually be added.  But for now, only the above commands work (and some 
of them, like EDIT, only BARELY!)


Should I post what I have so far?  Are too few interested for that?  If 
so, I'll just mail it to any interested users.


And YES, it will eventually ALL be programmed into Action! and then 
compiled (if I'd get off my duff and get a good runtime program!), but 
for now, I'm sticking with TurboBASIC XL, because I know what I'm doing 
in it! :)


                                thanx in advance                    bjk

PhBill: Bill Kendrick               |||  1200 Cyberden BBS (+1 415 472-5527)
Moon!Cyberden!PhBill@Well.SF.CA.US / | \ 2600 North of San Francisco California

Newsgroups: comp.sys.atari.8bit