Re: wPrintF

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

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