"Twin sisters and eldest brother"

Source: Internet
Author: User

The twins I mentioned here refer to carriage returns and line breaks. They often confuse me. I don't know what the difference is and how to use it.

Sister: Carriage Return, represented by CHR (13)

Indicates the end of a line or segment. If a command is written, press enter to run the command,

Sister: line feed, represented by CHR (10:

It indicates that this line has been written and needs to be written in another line. For example, if a command is long, you can use a semicolon (;) in the middle to wrap the line and write it in the next line.

We want to achieve the effect of line feed in text and label, the use of these two sisters is different.

In text, we can't leave the two sisters. If you only find your sister and do not find her sister, you cannot achieve your goal, in addition, you must first mobilize your sister and then mobilize it. That is to say, the carriage return is in front and the linefeed is in back. If you reverse the order of the two sisters, the two sisters may ask you for trouble and won't let you achieve your goal. Believe it? You can try ,,,,

In the label, if you want to get a line break, you only need to ask your sister or sister to help you. After all, they are sisters !! This is my sister's help:

This is my sister's help:

If you are interested, you can try it on your own ,,,Will the two sisters be able to fight against such a big skill? Can you find a big brother to manage them?You can find vbcrlf ,,,In vbcrlf, vbcr indicates the carriage return and vblf indicates the linefeed. Both text and label can achieve the goal of line feed. What do you mean, brother ??This is the result in the label:

 

This is the result in text:

Summary:The carriage return and line feed in text can be used at the same time.The carriage return, line feed, or carriage return + line feed in the label can achieve the goal.Vbcrlf can be used in both text and label.

Related Article

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.