n8742883@unicorn.WWU.EDU (Perry Pederson) (07/14/90)
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