v087mxgb@ubvmsa.cc.buffalo.edu (Shawn E Thompson) (03/04/91)
Hi all, I am an experienced Fortran and Basic programmer, but an absolute novice with Pascal & Modula2. I am playing with Metrowerks Modula2 compiler. I have the following line of data: x1 x2 x3 x4 x5 which I type in. How do I read these numbers all in as separate numbers?? I know in F77 & Basic the spaces delimit them as separate numbers and my code would just be to read in those numbers directly. These numbers *MUST* be typed on one line, instead of each followed by a <CR>. I know this involves the InOut module, but please give me suggestions ASAP. Also, what if some of them are integers (like the first one), and others are real numbers?? How do I handle that ?? Also, is there an inexpensive Modula2 compiler for the IBM PC, I am using Metrowerks on the Mac. Thanks for help Shawn E. Thompson | CAD Engineering (716)891-3375 v087mxgb@ubvms.cc.buffalo.edu | Leica, Incorporated University @ Buffalo | PO Box 123 Graduate School of Mechanical Engineering | Buffalo, NY 14240-0123