Re: printf fix
- Posted by Gabriel Boehme <gabrielboehme at HOTMAIL.COM> Apr 26, 2000
- 364 views
Bernie Ryan wrote: >Correction make that SPRINTF; > > If I do this: ? sprintf("\t\t abcd",0) > > I get { 9,9,32,97,98,99,100 } > > shouldn't the tabs be expanded into spaces ? The ? operator will always return the sequence representation of any string. Try coding ? "\t\t abcd" -- you get the same result. The 9's are the tab characters. It's not a sprintf() problem, it's the way Euphoria works. Use puts(1, sprintf("\t\t abcd", 0)) or printf(1, "\t\t abcd", 0) if you want to see the tabs expanded. -- Gabriel ______________________________________________________ PLEASE IGNORE ANY ADS YOU MAY SEE BELOW THIS LINE. ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com