Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!cbmvax!carolyn From: carolyn@cbmvax.cbm.UUCP (Carolyn Scheppner CATS) Newsgroups: comp.sys.amiga Subject: Re: UNIX IFF to Amiga IFF!, AmigaBasic 1.2, More then one Modem! Message-ID: <1698@cbmvax.cbmvax.cbm.UUCP> Date: Mon, 20-Apr-87 18:47:34 EST Article-I.D.: cbmvax.1698 Posted: Mon Apr 20 18:47:34 1987 Date-Received: Tue, 21-Apr-87 04:18:37 EST References: <3581@garfield.UUCP> Reply-To: carolyn@cbmvax.UUCP (Carolyn Scheppner CATS) Organization: Commodore Technology, West Chester, PA Lines: 50 Keywords: UBC IFF Format.. In article <3581@garfield.UUCP> markr@garfield.UUCP writes: >[] >So, what is new with the new BASIC? >[] For the most part, AmigaBasic 1.2 is mostly bug fixes. The only new thing I know of is that the new version parses command line arguments. This means that it is now possible to boot directly from the startup sequence into a basic program. The correct paths relative to the current directory (initially df0:) must of course be specified. Example: If AmigaBasic is on the boot disk in a directory called "Basic" and the basic program is on the boot disk in a directory called "Programs" Basic/AmigaBasic Programs/MyBasicProgram should load AmigaBasic which should then load and run MyBasicProgram. One thing to remember however. When you start AmigaBasic (or any executable program) from Workbench, the resulting process is CD'd where you double-clicked. CLI processes however are CD'd to the same place as the CLI they were started from. So if your AmigaBasic program needs to read in any files (such as bmaps, graphics, etc) or writes files with no path expecting them to go to certain directory, you will probably need to add a CHDIR statement to your Basic program to make sure IT is CD'd where you want. >[] >P.S. Anyone done any neet ways of sending data from one AmigaBasic >program to the next one? >[] CHAIN can call in and run another program while preserving all variables. Or you might want to write out a RAM: or disk file which the other program could read. If you want to implement BSAVE/BLOAD type of stuff, see my AmigaBasic ILBM programs on Extras 1.2 for an example of the kind of BSAVE/BLOAD that can be implemented with AmigaDOS system calls. (Better than BSAVE/BLOAD because you can save many different areas of memory in one file, and can load portions of one file back into various memory addresses.) -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Carolyn Scheppner -- CBM >>Amiga Technical Support<< UUCP ...{allegra,caip,ihnp4,seismo}!cbmvax!carolyn PHONE 215-431-9180 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=