Path: utzoo!attcan!uunet!lll-winken!elroy.jpl.nasa.gov!usc!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!dali.cs.montana.edu!milton!unicorn!n8742883 From: n8742883@unicorn.WWU.EDU (Perry Pederson) Newsgroups: comp.sys.atari.st Subject: My laser C problems are (almost) over! Summary: Thanks to all! Keywords: Laser C Message-ID: <1217@unicorn.WWU.EDU> Date: 13 Jul 90 18:10:29 GMT Reply-To: n8742883@unicorn.WWU.EDU (Perry Pederson) Organization: Western Washington Univ, Bellingham, WA Lines: 22 Thanks to everyone (all 25+ of you!) who answered my question about C parameters and function calls. Everyone said basically the same thing on how to change the structure of the functions to get everything working! I've been away from my ST for a bit, and will change my code this weekend and watch it run. I have (sigh!) one more question specifically pertaining to Laser C. Some of the programs I have written check for an EOF value. I know that EOF is defined by Laser C as having a integer value of -1, but the beginning programs by K & R need to have an EOF value entered from the keyboard. What key sequence(s) in Laser C are needed to send a EOF to the program? Control-Z send out an EOF value, but also shells out of the program before anything else can be done. Control-C shells out completley, and Control-Delete interrupts the program. I have tried all possible alt/shift/control sequences on the keyboard; is there a key sequence to send the EOF character to a program? Respecfully, Perry Pederson n8742883@unicorn.WWU.EDU