Re: Locked sequences - solution

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

At 09:09 p.m. 10-02-99 +0000, you wrote:
>BTW: I've noticed that when I use printf(1,"%s",MySeq), where MySeq =
"Hello, Jack.", the return value is
>only "H".  Is this a bug, or intentional?

printf() expects a sequence of paramenters. MySeq is {72, 101, 108, 108,
...etc}, so item 72 ('H') is used to "fill" %s. You should use {MySeq}
instead to give the full string as input for the %s mask.


Regards,
        Daniel   Berstein
        daber at pair.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu