CompuServe Thread

#AmigaDOS ASK command

19 messages in this thread
#102385From: Darron C. KnutsonJan 9, 1988 2:12 PM
Doug, Thanks for the help. As I thought, it was something rather simple, but without anything in the manual, I was stumped. This will be very helpful in constructing useful execute files. Darron
#102403From: Doug WingerJan 9, 1988 3:34 PM
Darron, Always happy to help. Why this wasn't in the manual, I don't know. There are a couple of other undocumented things floating around out there, like the /b switch on Amiga-IBM interface. Maybe Rob Peck will document all of these 'missing commands' in his book. Rob, if you read this, how about it? Doug
#102558From: Terry CarrollJan 10, 1988 11:21 AM
ASK isn't an official ADOS command, is it? It's a PD extension; that's why it's not in the manual.
#102667From: Doug WingerJan 10, 1988 7:30 PM
Terry, Check the 1.2 release of DOS. If it isn't official, then what is the bugger doing in there? <grin> Doug
#102954From: Andy FinkelJan 11, 1988 10:35 PM
Its an official command all right. The timeout option is a good suggestion. Maybe in a future release… andy
#103339From: Terry CarrollJan 13, 1988 8:04 PM
It's not in my copy of 1.2 DOS.
#103517From: Doug WingerJan 14, 1988 6:58 PM
Terry, I have word form on high that it is official in 1.2. Check your release version WB c: directory. It had better be there, or it ain't 1.2 Doug
#102801From: Darron C. KnutsonJan 11, 1988 3:13 AM
Doug, I had to post a message on the board to find out about the /b switch in the MS-DOS-Amiga aread and awrite commands, too! I'd sure vote in favor or Rob putting these undocumented commands in his book. By the way, I'm getting a great deal of good out of Rob's Amiga Programmer's Guide (I _think_ that's the title anyway — good book, by whatever title!) Darron
#102557From: Terry CarrollJan 10, 1988 11:20 AM
There is another PD program called CommandReq, that puts up a requestor, and lets you pick YES or NO as to whether a particular command should be executed. It's better than ASK, because it has a timeout feature, that will assume YES or NO, depending on how you invoke it, if you don't select anything within a certain amount of time that you specify. I use it in my startup sequence a lot, for instance to decide whether or not CONMAN and FUNCKEY should be used or not. I give myself 3 seconds to select NO, or else by default, they are active. Leave me a message if it's not in any DL here, and I'll put together an ARC file and upload it.
#102564From: Marlene ZenkerJan 10, 1988 12:31 PM
Terry, thanks for offering to upload CommandReq but it is already here in DL9 COMREQ.ARC. Marlene
#102802From: Darron C. KnutsonJan 11, 1988 3:14 AM
Terry, Sounds good; I'll check out CommandReq and will let you know if I can't find it. Thanks for the help. Darron
#102669From: John DraperJan 10, 1988 7:41 PM
Darron, Kevin Helms recently uploaded a beautiful little program that allows you to do exactly what you want. It's called Select, (SELECT.ARC in DL 9), and works like this: In a script file, you place the line… select games programming wordprocessor database whatever and when executed, Select puts up a window with all the choices you specified on the command line, plus a CANCEL option, in gadgets. A click on any of the gadgets will execute a file in your S: directory of the same name as you specified. In the above example, 'database' or 'wordprocessor' would be fecthed from S:, and it miht do a few ASSIGNs if needed, perhaps a CD, and run your favourite word processor or database. 'games' and 'programming' would probably have another Select command within them, perhaps something like: select assembler modula-2 C Icon which in turn would fetch script files with the appropriate name and lead you right to what you wanted to do. It's a very nice tool, and I recommend it highly. Regards, Larry.
#102803From: Darron C. KnutsonJan 11, 1988 3:19 AM
Larry, Select sounds like a great idea, and I'll certainly take a look at it. It sure pays to ask questions around here! Not only have I gotten the answer to my original questions, but I've gotten at least two suggestions for how to do the same thing a better way. I guess all the $ I spent on CIS is really worth it! Thanks again. Darron
#102805From: John DraperJan 11, 1988 3:34 AM
Darron, Glad you got what you were looking for. We like to think that money spent on the Amigaforum is money well spent. As long as you watch your usage and take steps to minimize cost, the benefits can far outweigh it. Regards, Larry.
#102944From: Darron C. KnutsonJan 11, 1988 10:08 PM
Larry, I certainly think I'm getting my money's worth — it's just that we got our credit card bill with the CIS charges the other day and I had to spend a little time defending this particular budget item, a event which was fresh in my mind when I wrote that last message! I keep coming back, what else can I say? Thanks again for the help; keep up the good work. Darron
#102964From: John DraperJan 11, 1988 11:00 PM
Darron, Have you read SAVMON.HLP in DL 1? It details a number of techniques that should save you money on the forum. Regards, Larry.
#103194From: Darron C. KnutsonJan 12, 1988 10:12 PM
Larry, I have read SAVMON.HLP and have taken a number of its excellent suggestions to heart. What I need is some will power to cut down on my on-line addiction! I really did not mean to sound so critical of CIS in my last message; it's just that I'd received a short lecture on "fiscal responsibility" and the relevance of my monthly on-line charges to that concept shortly before posting that last message and I guess the subject was still too much on my mind. I'm hooked on my Ami and on this conference, so I guess my budget will just have to adjust. Keep up the good work. Darron
#103033From: Marlene ZenkerJan 12, 1988 7:14 AM
Darron, are you creating msgs offline, downloading the msgs you want to read offline? Read SAVMON.HLP and EZSIG.HLP in DL1. Marlene
#103198From: Darron C. KnutsonJan 12, 1988 10:14 PM
Marlene, Yes, composing messages off-line really helps. I cringe to think what my charges would be otherwise! Thanks for your interest. Darron