【问题标题】:How can you clear a List?如何清除列表?
【发布时间】:2015-02-19 17:13:42
【问题描述】:

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

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

【问题讨论】:

    标签: lotusscript


    【解决方案1】:
    Erase x ' delete whole list
    Erase x(el) ' delete element
    

    【讨论】:

    • 谢谢!欣赏它。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2017-01-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-11-25
    • 2012-04-20
    相关资源
    最近更新 更多