Path: utzoo!attcan!uunet!lll-winken!ames!mailrus!iuvax!purdue!mentor.cc.purdue.edu!j.cc.purdue.edu!pur-ee!pur-phy!murphy From: murphy@pur-phy (William J. Murphy) Newsgroups: comp.lang.pascal Subject: Variable length output with Write(ln) inTurbo Pascal 5.0 Message-ID: <1779@pur-phy> Date: 13 Jan 89 13:54:10 GMT Reply-To: murphy@newton.physics.purdue.edu (William J. Murphy) Organization: Purdue Univ. Physics Dept., W. Lafayette, IN Lines: 18 Does anyone know of a way using Write or Writeln to output a variable length set of variables on a *single* line? In Fortran (Achkk Pfft..) one is allowed to imbed a loop in the write or print statement. Print (max(i); i =1,20)) would do something like print the first 20 elements of the array max on one line. Can I control whether Write or Writeln print out a carriage return line feed? In C you could write for(i =0; i