Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!mephisto!rutgers!cmcl2!adm!news From: chaudhury@physics.ucla.edu (CHAUDHURY, SHILADITYA) Newsgroups: comp.lang.pascal Subject: Integer to String Conversion Message-ID: <24602@adm.BRL.MIL> Date: 25 Sep 90 23:13:24 GMT Sender: news@adm.BRL.MIL Lines: 12 Hi, I wonder if someone could point out a simple way to do integer to string conversion in SUN Pascal. I generate a number that needs to be part of a filename in : rewrite(textfile,filename); where 'filename' is a string. Right now I can write the integer to a text file and read it back as a string - but that's rather dumb! I have been too used to nice Turbo Pascal features for such things... --Raj Chaudhury UCLA, Solid State Science Center