> ## 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/QLw4prvAN-mejJU5/helpcenter/commands/data-processing/images/reverselistcommand-02.png?fit=max&auto=format&n=QLw4prvAN-mejJU5&q=85&s=657ef05e7bb9f6923d24110e83021c22" alt="反转列表指令参数面板" width="648" height="243" data-path="helpcenter/commands/data-processing/images/reverselistcommand-02.png" />

    | 参数     | 说明     |
    | ------ | ------ |
    | **列表** | 输入列表变量 |
  </Tab>

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

## 使用示例

<img src="https://mintcdn.com/bazhuayu-rpa-docs/QLw4prvAN-mejJU5/helpcenter/commands/data-processing/images/reverselistcommand-03.png?fit=max&auto=format&n=QLw4prvAN-mejJU5&q=85&s=65a29e058cd0ad9cf1e6ab8ea012efd0" alt="反转列表使用示例" width="846" height="252" data-path="helpcenter/commands/data-processing/images/reverselistcommand-03.png" />

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

1. 选择需要处理的列表变量。
2. 执行【反转列表】，将列表第一项与最后一项的顺序完全对调。
3. 将反转后的列表保存到结果变量，供后续读取、循环或输出使用。

### 效果展示

<img src="https://mintcdn.com/bazhuayu-rpa-docs/QLw4prvAN-mejJU5/helpcenter/commands/data-processing/images/reverselistcommand-01.png?fit=max&auto=format&n=QLw4prvAN-mejJU5&q=85&s=6366eca5b6a9b7e9da3cc2f6ee6a9a63" alt="反转列表效果展示" width="844" height="192" data-path="helpcenter/commands/data-processing/images/reverselistcommand-01.png" />

<img src="https://mintcdn.com/bazhuayu-rpa-docs/QLw4prvAN-mejJU5/helpcenter/commands/data-processing/images/reverselistcommand-04.png?fit=max&auto=format&n=QLw4prvAN-mejJU5&q=85&s=fd907bba7445d2f6e089c3fbde277a9f" alt="反转列表效果展示" width="837" height="249" data-path="helpcenter/commands/data-processing/images/reverselistcommand-04.png" />

<img src="https://mintcdn.com/bazhuayu-rpa-docs/QLw4prvAN-mejJU5/helpcenter/commands/data-processing/images/reverselistcommand-05.png?fit=max&auto=format&n=QLw4prvAN-mejJU5&q=85&s=fa25fee9eb7a53e1e1135c9043be556b" alt="反转列表效果展示" width="839" height="314" data-path="helpcenter/commands/data-processing/images/reverselistcommand-05.png" />

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