> ## Documentation Index
> Fetch the complete documentation index at: https://rpa.bazhuayu.com/helpcenter/llms.txt
> Use this file to discover all available pages before exploring further.

# 新建字典

## 指令说明

**描述：** 创建一个不包含键值对的空字典，并将该字典保存到指定变量中供后续指令使用。

## 参数说明

<Tabs>
  <Tab title="常规">
    <img src="https://mintcdn.com/bazhuayu-rpa-docs/GBkSeqm2b688g4En/helpcenter/commands/data-processing/images/createdictionarycommand-01.png?fit=max&auto=format&n=GBkSeqm2b688g4En&q=85&s=07226c856ad42947378b9ced4562b79e" alt="新建字典指令参数面板" width="660" height="353" data-path="helpcenter/commands/data-processing/images/createdictionarycommand-01.png" />

    | 参数          | 说明                 |
    | ----------- | ------------------ |
    | **保存字典对象至** | 设置用于保存新建字典对象的变量名称。 |
  </Tab>

  <Tab title="高级">
    本指令暂无高级参数。
  </Tab>
</Tabs>

## 使用示例

<img src="https://mintcdn.com/bazhuayu-rpa-docs/GBkSeqm2b688g4En/helpcenter/commands/data-processing/images/createdictionarycommand-02.png?fit=max&auto=format&n=GBkSeqm2b688g4En&q=85&s=8b2001353ce302fbceaaf4fb19de4085" alt="新建字典使用示例 - 流程搭建" width="1323" height="97" data-path="helpcenter/commands/data-processing/images/createdictionarycommand-02.png" />

**该流程执行逻辑：**

1. 执行【新建字典】创建一个不包含任何键值对的字典对象。
2. 将生成的字典保存到变量“新字典”，供后续写入、读取或删除字典数据时使用。

### 效果展示

<img src="https://mintcdn.com/bazhuayu-rpa-docs/GBkSeqm2b688g4En/helpcenter/commands/data-processing/images/createdictionarycommand-03.png?fit=max&auto=format&n=GBkSeqm2b688g4En&q=85&s=22e055339d81a042f77099ab266e8713" alt="新建字典使用示例 - 效果展示" width="1317" height="299" data-path="helpcenter/commands/data-processing/images/createdictionarycommand-03.png" />

<Info>
  使用指令过程中遇到问题？前往 [八爪鱼RPA 开发者社区问答板块](https://rpa.bazhuayu.com/community/questions) 提问，获取官方与社区帮助。
</Info>
