# 关键字

V是一种非常小巧的语言，所以它很少有关键字。大约有25个关键字。

| Keywords | in     | V   | Programming | Language  |
| -------- | ------ | --- | ----------- | --------- |
| break    | const  | as  | continue    | defer     |
| else     | enum   | fn  | for         | struct    |
| go       | goto   | if  | import      | return    |
| type     | pub    | mut | in          | interface |
| match    | module | or  | none        |           |

与其他语言一样，它们不能用作变量。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://v-community.gitbook.io/v-by-example/cn/examples/section_1/keywords.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
