From: Chris Doty Newsgroups: comp.os.msdos.djgpp Subject: Re: Using printf() with GNU Pascal Compiler Date: Sat, 28 Feb 1998 03:20:07 -0800 Organization: Worcester Polytechnic Institute Lines: 10 Message-ID: <34F7F2E7.236B@atticus.com> References: <01bd43f2$d28dd8e0$0b16ad86 AT tmoore> NNTP-Posting-Host: orz.res.wpi.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Tony wrote: > > How do I call printf() in a pascal file? > > -Tony | tmoore AT chs DOT claremont DOT edu I believe write() and writeln() are roughly equivalent to printf(). Something like: replace: printf("bob ate %d pounds of elk.\n", a); with: writeln("bob ate ", a, " pounds of elk.");