gpt4 book ai didi

lotusscript - 如何清除列表?

转载 作者:行者123 更新时间:2023-12-04 00:08:06 26 4
gpt4 key购买 nike

我有一个想要重复使用的列表,但我无法弄清楚如何清除它之前的条目。

dim x list as string, i as integer
for i = 1 to 4
x("a"+cstr(i)) = "blue"+cstr(i)
x("b" +cstr(i)) = "green"+cstr(i)

<do some stuff>
<Before I loop back around, I want to clear 'x' so it does not contain the previous entries>
next

最佳答案

Erase x ' delete whole list
Erase x(el) ' delete element

关于lotusscript - 如何清除列表?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28612601/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com