Re: printf fix
- Posted by "Lucius L. Hilley III" <lhilley at CDC.NET> Apr 26, 2000
- 377 views
printf() and sprintf() should and do translate '\t' into 9. The tab translation works just as it should. That is all I have to say. Lucius L. Hilley III lhilley at cdc.net +----------+--------------+--------------+ | Hollow | ICQ: 9638898 | AIM: LLHIII | | Horse +--------------+--------------+ | Software | http://www.cdc.net/~lhilley | +----------+-----------------------------+ > ---------------------- Information from the mail header ----------------------- > Sender: Euphoria Programming for MS-DOS <EUPHORIA at LISTSERV.MUOHIO.EDU> > Poster: Bernie Ryan <xotron at BUFFNET.NET> > Subject: Re: printf fix > -------------------------------------------------------------------------- ----- > > On Wed, 26 Apr 2000 13:33:21 -0400, Brian Broker <bkb at CNW.COM> wrote: > > > > > > >Note: To respond to the LB_SETTABSTOPS message, the list box must have > >been created with the LBS_USETABSTOPS style. > > Brian: > > That message sets tab stops in a listbox, but requires the user to > calculate and adjust the tabs under different conditions. What I am > saying is if sprintf formated a string as it should, then a user could > use text in the listbox without dealing with adjusting tab stops, > because the tabs would have been converted into spaces. In addition > sprintf could then be used to format titles and other text strings > in windows and dos. > > Bernie >