Chapter 4 edit source code in Visual LISP (4) Check syntax errors

Source: Internet
Author: User

1. Check whether brackets match

Shortcut Keys for parentheses
combination Shortcut Keys function
Ctrl +] If the right side of the cursor is a right brace, move the cursor to the right brace; if the right side of the cursor is a left brace, move the cursor to the right brace that matches it
Ctrl + [ If the left bracket of the cursor is left, move the cursor before the left bracket, if the left side of the cursor is a right brace, move the cursor before the matching left brace
Ctrl + shirt +] If the right side of the cursor is an angle bracket, move the cursor after the angle bracket, if the right side of the cursor is a left brace, move the cursor to the right brace that matches it, and select all text in the period
Ctrl + shimpaired + [ If the left bracket of the cursor is left, move the cursor before the rear bracket, if the left side of the cursor is a right brace, move the cursor to the matching left brace, and select all text in the period

2. Check syntax errors by code color

Omitted

3. Use the syntax check function to check for syntax errors

(1) Use the syntax detection function to detect possible syntactic errors

1. Parentheses or double quotation marks do not match. 2. The variable name assigned or the defined function name is incorrect. 3. The number of parameters for calling a function is different from the number of parameters required by the function. 4. the syntax of some special functions is incorrect.

(2) syntax check steps:

Tool> check the text in the editor.

Chapter 4 edit source code in Visual LISP (4) Check syntax errors

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.