Amigabasic
10 messages in this thread
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
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
Betty, thank you for your prompt response. I wilppreciate any information
that you come up with.
Jesse Shadle
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
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
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
Jesse, PopCLI is in LIB 14 POP3.ARC Marlene
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
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.
Hello Marlene
Thank you for your reply. I am currently working on ways to
implement your sugesstion.
Jesse Shadle