Re: Locked sequences - solution
- Posted by Daniel Berstein <daber at PAIR.COM> Feb 10, 1999
- 455 views
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