Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!cbmvax!carolyn From: carolyn@cbmvax.UUCP Newsgroups: comp.sys.amiga Subject: Re: Advanced use of AmigaBasic Message-ID: <2829@cbmvax.UUCP> Date: Thu, 19-Nov-87 16:17:08 EST Article-I.D.: cbmvax.2829 Posted: Thu Nov 19 16:17:08 1987 Date-Received: Sat, 21-Nov-87 16:48:03 EST References: <18613@bbn.COM> Reply-To: carolyn@cbmvax.UUCP (Carolyn Scheppner CATS) Organization: Commodore Technology, West Chester, PA Lines: 53 In article <18613@bbn.COM> cosell@bbn.com.UUCP (Bernie Cosell) writes: > >I'm doing some AmigaBasic hacking and it is mostly all working out fine. >BUT... I"m quickly running into the boundaries of what's easy to do. >Are there any reference books or journals or the like discussing advanced >use of AmigaBasic. I think Compute books has an "Advanced AmigaBasic" book and disk. > a) how do you set up gadgets from Basic One of the Amicus disks (Amazing Computing) has a Basic Gadgets program. I believe they are not Intuition gadgets but rather a simulation of Intuition gadgets. But they looked very nice. > b) Is it possible to set up a program so that when it is started >the dumb "Amigabasic" screen doesn't pop up AT ALL. I think you can only do that if you compile it with AbSoft's compiler. You could try a tiny program that blacks the screen then chains to your main program. That might minimize the amount of time you have to look at the "dumb" screen. > c) Is there some way to package up an amigabasic program so it is callable >from the CLI *AND* can get at its command-line args? I don't think your AmigaBasic application has any access to the AmigaBasic interpreter's command line args. If your startup has: Extras:AmigaBasic MyDisk:mybasicprogram AmigaBasic gets the command line args, loads you, then runs you. By the way - a reminder: If you plan to sell or distribute an AmigaBasic program, you can not distribute AmigaBasic with it. Microsoft doesn't allow that. > d) Can you set up an AmigaBasic program so that it can be started >by the one-=click-on-this-icon-then-shift-doubleclick-on-the-program-icon >hack. All you should have to do is use Workbench's Info function to delete the Default Tool entry in the program's project icon. Then the click-one and double-click-the-other should work. With a Default Tool specified, I believe even an extended double-click on the Project will cause the Default Tool to be loaded. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Carolyn Scheppner -- CATS >>Commodore Amiga Technical Support<< UUCP ...{allegra,ihnp4,rutgers}!cbmvax!carolyn PHONE 215-431-9180 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=