Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!ig!bionet!csd4.milw.wisc.edu!dogie.macc.wisc.edu!indri!aplcen!jhunix!ins_adjb From: ins_adjb@jhunix.HCF.JHU.EDU (Daniel Jay Barrett) Newsgroups: comp.sys.amiga Subject: Re: C/AmigaDos Problem Message-ID: <1534@jhunix.HCF.JHU.EDU> Date: 22 Apr 89 17:35:01 GMT References: <905@jarthur.Claremont.EDU> Reply-To: ins_adjb@jhunix.UUCP (Daniel Jay Barrett) Organization: The Johns Hopkins University - HCF Lines: 17 In article <905@jarthur.Claremont.EDU> jshortle@jarthur.UUCP (John Shortle) writes: >I have written a simple command-line reverse polish notation calculator in C. >It works fine unless you end the command with a plus (+) character. You >must hit return twice, and the program doesn't recognize the plus character >as part of the statement.... I'm not sure if this will help, but the '+' character is recognized by AmigaDOS (at least for the "Run" command) as a command continuation symbol. If you end a command line with a plus sign, the CLI expects that the command isn't finished, and the rest of the command will follow on the next line. I thought this was only for commands that are "Run", though. -- # Dan Barrett barrett@cs.jhu.edu (128.220.13.4) ARPANET # # ins_adjb@jhuvms.bitnet BITNET # # ins_adjb@jhunix.UUCP UUCP (unreliable) # # Dept. of Computer Science, Johns Hopkins University, Baltimore, MD 21218 #