Re: Locked sequences - solution
- Posted by jiri babor <jbabor at PARADISE.NET.NZ> Feb 11, 1999
- 446 views
Library.doc: Comments: Watch out for the following common mistake: printf(1, "%s", name) This will print only the first character of name, as each element of name is taken to be a separate value to be formatted. You must say this instead: printf(1, "%s", {name}) -----Original Message----- From: Michael Sabal <mjs at OSA.ATT.NE.JP> To: EUPHORIA at LISTSERV.MUOHIO.EDU <EUPHORIA at LISTSERV.MUOHIO.EDU> Date: Thursday, February 11, 1999 1:25 AM >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?