Line feed in the prompt window

Source: Internet
Author: User
When I use VB6, I only need to add vbcrlf to the string, and then press enter to wrap the text in the result printed in the instant window. this is very useful when I often want to debug SQL statements and won't see the header in a long string.

In vs2005, I also want to find this function, but there are few on the network. Many people use \ r \ n for implementation, but vs2005's immediate window or monitoring window, string variables are enclosed in double quotation marks. then I found out what others said. Click the magnifier in the monitoring window and the "text visualization tool" came out, the \ r \ n is converted into a real carriage return line break.

OK. Next time I want to find out how to develop a "visualization tool" and develop one by myself. Isn't that even better!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.