Re: simple help

new topic     » goto parent     » topic index » view thread      » older message » newer message

----- Original Message -----
From: <JJProg at CYBERBURY.NET>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Sunday, December 19, 1999 5:02 PM
Subject: Re: simple help


> EU>I am trying to take an integer and turn it into a string
>
>
> EU>example
>
> EU>integer a
> EU>sequence b
> EU> a=44
>
> EU>how do I asign b to equal "44"?
>
> integer a
> sequence b
> a = 44
> b = sprintf("%d",a)
>
> sprintf is just like printf, except it returns what printf would print
> to the screen or file.

Being that i am in the "can't figure out which print to use" pavilion, i use
sprint(), so..

include misc.e
integer a
sequence b
a = 44
b = sprint(a)

Kat

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu