Re: wPrintF

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

David,
That figures since I had previously written a routine to print the alphabet and
then I used a sequence, and it was O.K.Thank you.
Regards
Bob
----- Original Message -----
From: David Cuny <dcuny at LANSET.COM>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Friday, August 25, 2000 2:52 PM
Subject: Re: wPrintF


> bobspringett wrote:
>
> > wPrintf(DrawWin,"%d",n)
>
> Unlike printf, wPrintf wants the third argument to be a sequence. Try:
>
>    wPrintf(DrawWin,"%d",{s})
>
> This should be fixed (Matt, could you do this?) by changing the definition
> in Win32Lib from:
>
>    global procedure wPrintf( integer id, sequence s1, sequence s2 )
>       wPuts( id, sprintf( s1, s2 )
>    end procedure
>
> to:
>
>    global procedure wPrintf( integer id, sequence s, object o )
>       wPuts( id, sprintf( s, o )
>    end procedure
>
> Sorry about that!
>
> -- David Cuny

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

Search



Quick Links

User menu

Not signed in.

Misc Menu