1. just a little question (about Rfont)

Hi,
it's just a little question : how to "transform" an integer into a
sequence ?
I explain : I want to use write() in Rfont to display an integer, but
write() display only sequences.
So I have to transform the integer, but I dunno how (and I don't want to
use print() to display the int. )
Thanx in advance
Gwen

new topic     » topic index » view message » categorize

2. Re: just a little question (about Rfont)

Message text written by Gwen
>it's just a little question : how to "transform" an integer into a
sequence ?<

You can use sprintf() to convert an integer (or any number) to a text
sequence.  For example, to print the integer 255 using rfont:

        write(sprintf("%d", 255))

Colin Taylor

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu