mdavis@hp-sdd.UUCP.UUCP (04/21/87)
Tak -- In response to your request for a routine or program which can test the existence of a file on disk without causing an error, I've written a package of utilities for Applesoft programmers which has such a command. It will return the file-information associated with the filename you specify in a string (that is, the file info that you'd get with the GET_INFO MLI call). If the string comes back empty (equal to ""), then you know that the file does not exist. In addition, the package has a means of changing file information (like changing the filetype on a file with just one command). Zillions of other powerful commands are also available (he says, trying not make this sound like an advertisement). The program can be had for $10, comes with a manual describing all of the thirty (30) built-in commands, by writing to Living Legends Software / 1915 Froude Street / San Diego CA 92107. --Morgan Davis UUCP: [ ihnp4 akgua hplabs!hp-sdd sdcsvax nosc ] !crash!pnet01!pro-sol!mdavis ARPA: crash!pnet01!pro-sol!mdavis@nosc INET: mdavis@pro-sol.CTS.COM
TMPLee@DOCKMASTER.ARPA (04/24/87)
Is your package for DOS or ProDOS, and if for ProDOS does it work on 3.5" disks? Wouldn't mind a list of the other functions.
mdavis@hp-sdd.UUCP.UUCP (04/26/87)
> Is your package for DOS or ProDOS, and if for ProDOS does it work on > 3.5" disks? AmperWorks runs under ProDOS only, and it works with all standard ProDOS disk devices (which includes 3.5" drives, RAMdisks, Hard-disks, what have you). > Wouldn't mind a list of the other functions. Your wish is my command: + BASIC Functions (AmperWorks) . Get and set file information on a file (&/, &\) . Append a file onto another file (&ADD) . Convert a string's characters to normal ASCII (&ASC) . Copy a file to another file or directory (©) . Read the filenames from a directory into a string array (&FILES, &TFILES) . Powerful "input anything" command (&GET) . List out any type of disk file (&LIST) . Convert a string to lowercase (&LCASE) . Left-justify a string within a fixed-width field (&LEFT$) . Replace the middle portion of a string (&MID$) . Right-justify a string within a fixed-width field (&RIGHT$) . Strip spaces or other characters from the ends of a string (&SPC) . Fix Applesoft's ONERR bug and return error code and line number (&ONERR) . POKE multiple values into consecutive memory locations (&POKE) . Initialize Applesoft's stack (&POP) . Return the position of a string within a string (&POS) . Powerful "input anything" routine with optional word wrap (&READ) . Repeat Applesoft statements Until a condition is met (&REPT, &UNTIL) . Store and restore strings in non-erasable memory (&STORE, &RESTORE) . Sort a string, floating point, or integer single-dimensioned array (&SRT) . Repeatedly print a character many times (&STR$) . Get the time in this format: Sun, 1 Feb 87 12:30:45 (&TIME) . Convert a string to uppercase (&UCASE) AmperWorks comes free when you buy another enhancement package I've written called "ModemWorks". I'd hate to see you get AmperWorks and a week later want to buy ModemWorks (let me know if you want a description of that, too -- its a communications construction set for your modem through Applesoft BASIC using similar English-like commands: &HANGUP, & WAIT FOR CARRIER, etc...) In case you missed the address in the first message, its: Living Legends Software / 1915 Froude St. / San Diego CA 92107, and AmperWorks is ten US dollars. UUCP: [ ihnp4 akgua hplabs!hp-sdd sdcsvax nosc ] !crash!pnet01!pro-sol!mdavis ARPA: crash!pnet01!pro-sol!mdavis@nosc INET: mdavis@pro-sol.CTS.COM