Red Gate forums :: View topic - SQLDataCompare API examples - Composite Formatting ?
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Toolkit Previous Versions
SQL Toolkit Previous Versions forum

SQLDataCompare API examples - Composite Formatting ?

Search in SQL Toolkit Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
jimboh



Joined: 29 Jan 2007
Posts: 17
Location: Melbourne Australia

PostPosted: Tue Apr 01, 2008 11:51 am    Post subject: SQLDataCompare API examples - Composite Formatting ? Reply with quote

Can someone explain the purpose and meaning of the \t used in the formating used in the examples (like Console.WriteLine("{0}\t{1}\t{2}\t{3}",field.Field(false).Name, value1.ToString(),row.FieldDifferent(i)?"<>":"==", value2.ToString())Wink

I just cant find any .net help doco to explain this ...
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6582

PostPosted: Tue Apr 01, 2008 12:52 pm    Post subject: Reply with quote

Hi,

\t is a standard escape character which will 'print' a TAB to the console. There is information on the Internet about these if you search for 'C Escape Characters', for instance, this web page.
Back to top
View user's profile Send private message
jimboh



Joined: 29 Jan 2007
Posts: 17
Location: Melbourne Australia

PostPosted: Tue Apr 01, 2008 1:03 pm    Post subject: Reply with quote

very helpful link ...

thanks

Jimbo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group