www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/25/19:52:57

Message-Id: <199903260051.TAA27851@delorie.com>
Comments: Authenticated sender is <mert0407 AT sable DOT ox DOT ac DOT uk>
From: "George Foot" <george DOT foot AT merton DOT ox DOT ac DOT uk>
To: Unigni <unigni AT zaynar DOT demon DOT co DOT uk>
Date: Fri, 26 Mar 1999 00:49:18 +0000
MIME-Version: 1.0
Subject: Re: Displaying a number with Allegro
CC: djgpp AT delorie DOT com
X-mailer: Pegasus Mail for Win32 (v2.42a)
Reply-To: djgpp AT delorie DOT com

On 25 Mar 99 at 19:09, Unigni wrote:

> I have a little problem: in Allegro, textout uses prints a string to the
> screen, but what I want to do is print a number (integer). However, I'm
> not sure how to convert an integer into a string... Any help will be
> gratefully appreciated!

Use `textprintf', or manually sprintf the number into a buffer 
and textout that.

-- 
George

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019