Path: utzoo!mnetor!uunet!cbmvax!schein From: schein@cbmvax.UUCP (Dan Schein CATS) Newsgroups: comp.sys.amiga Subject: Re: Input from keyboard in startup-sequence Message-ID: <3397@cbmvax.UUCP> Date: 1 Mar 88 14:15:36 GMT References: <820@umbc3.UMD.EDU> Reply-To: schein@cbmvax.UUCP (Dan Schein CATS) Distribution: na Organization: Commodore Technology, West Chester, PA Lines: 35 In article <820@umbc3.UMD.EDU> ken@umbc3.UMD.EDU (Ken Spagnolo ) writes: >Hopefully, this is not a dumb question (I can't find the answer anyway). > >I would like to have an if-then-else structure in my startup-sequence >that would prompt me to see if I wanted to load up certain files (or >whatever). But I don't know how to get it to wait for input from the >keyboard during startup. Even EXECUTE needs to see the args on the >command line that calls it. Anyone pull this off? Thanx. > Why not use the "ASK" command? If you combine it with "IF" & "ELSE" you have exactly what you need. Here is a quick & dirty example: ask Relay if warn echo "Y" else echo "non-Y" endif This will display the work "Relay" and wait for a keypress. Hope that helps. >Ken Spagnolo -- Dan Schein uucp: {ihnp4|allegra|burdvax|rutgers}!cbmvax!schein Commodore AMIGA ARPANET: cbmvax!schein@uunet.uu.net 1200 Wilson Drive Bix: dschein Plink: Dan*CATS West Chester PA 19380 phone: (215) 431-9100 ext. 9542 +----------------------------------------------------------------------------+ All spelling mistakes are a result of my efforts to avoid education :-) +----------------------------------------------------------------------------+ I help Commodore by supporting the AMIGA. Commodore supports me by allowing me to form my own suggestions and comments.