CompuServe Thread

Amigabasic

10 messages in this thread
#28599From: Jesse ShadleJan 3, 1989 2:41 PM
Hello: After listening for the past 3 years to all of the problems that as a group you have solved, I would appreciate help with an Amigabasic search and replace dilemma. I am looking for a way to achieve the following: Use search/query/replace to edit a program IN MEMORY. Use of a HOTKEY to reach CLI from basic. I have been using Ed,MeMacs,and various word processors to accomplish this in the past. Since the programs that I write are 200K plus, there is not enough RAM left to MULTITASK, load a identical program, edit and save to disk. Even if I had enough RAM to do this, I would still be forced to re-load to continue working on the program. (1) Am I over looking a simple solution to this problem? (2) Since Amigabasic is disk based, can a hook be used to wedge in these features? (3) If Shareware exists my checkbook is open! ( If SHE who must be OBEYED will authorize it ) Thanks in advance Jesse Shadle 72217,3232
#28724From: Betty Clay/SYSOPJan 3, 1989 11:53 PM
Jesse, I have not seen the article, but TRANSACTOR #5 is supposed to have an article about doing CLI work from AmigaBASIC. Also, I have a friend who has dug deeply into AmigaBASIC. I'll put your question to him and perhaps I can answer you in a day or two, when I've had time to get an answer. Betty
#28766From: Jesse ShadleJan 4, 1989 8:20 AM
Betty, thank you for your prompt response. I wilppreciate any information that you come up with. Jesse Shadle
#28860From: Betty Clay/SYSOPJan 4, 1989 9:42 PM
Jesse, There is one other book that might help you. Abacus is selling a book called AMIGA TIPS AND TRICKS (I think that's the right title) that gives tips on reaching lots of the CLI things from AmigaBASIC. The next TRANSACTOR will also have a review of this book. As I said, I have not seen that TRANSACTOR yet – in fact, it isn't really out yet – but the author of the review told me a bit about the book. Betty
#28769From: David ArtJan 4, 1989 9:18 AM
Jesse, Although I've never tried it, the utility PopCLI (which I believe is PD) should work for you to get a CLI from AmigaBasic. Once you invoke it, you just hit left Amiga-ESC (or C= escape, if your keyboard is like mine) and a CLI is invoked. (I got my copy on the Lattice distribution disks, so I don't know if it's available in the DL's). Sorry, but I can't help on the search/replace problem. I've been intentionally avoiding AmigaBasic programming in an effort to enhance my C programming. David
#29036From: Jesse ShadleJan 5, 1989 9:10 PM
Hello David Thanks for your suggestion. I will check out the DL's to see if Popcli is available. I guess une of these days I will have to update my Lattice disks. Remember though, sometimes a good dose of basic can ease C-Sickness.. Jesse Shadle
#29043From: Marlene Zenker/SYSOPJan 5, 1989 10:16 PM
Jesse, PopCLI is in LIB 14 POP3.ARC Marlene
#29228From: Betty Clay/SYSOPJan 6, 1989 10:51 PM
Jesse, Was it you who wanted to open a CLI from BASIC? If so, you can do it with EXECUTE. This is explained in an article in the TRANSACTOR for the AMIGA, #4, currently on the stands. There is an article on doing CLI work from AmigaBASIC in that issue. Betty
#28806From: Marlene Zenker/SYSOPJan 4, 1989 4:19 PM
Jesse, you can access DOS commands directly through Amiga Basic by including the dos.library – you must start AmigaBasic from a CLI though not from Workbench.
#29037From: Jesse ShadleJan 5, 1989 9:11 PM
Hello Marlene Thank you for your reply. I am currently working on ways to implement your sugesstion. Jesse Shadle