设置字符串列表项
<h1>功能</h1>
<p>可在已有的字符串列表中设置指定索引和指定列表值。
CreateStringList 创建字符串列表。</p>
<h1>输入</h1>
<table>
<thead>
<tr>
<th>名称</th>
<th>说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>列表</td>
<td>【TList<string>】已有的字符串列表</td>
<td>列表(传入变量)</td>
</tr>
<tr>
<td>索引</td>
<td>【整型】要设置的字符串列表项索引,索引从0开始</td>
<td>1</td>
</tr>
<tr>
<td>值</td>
<td>【字符串】要设置的字符串列表项的值</td>
<td>'出生年月'</td>
</tr>
</tbody>
</table>
<h1>注意/说明</h1>
<p>1.该函数需与【构建字符串列表】函数、【遍历循环】函数搭配使用,将构建好的字符串列表传入【设置字符串列表项】函数中,设置好指定的字符串列表项,然后用【遍历循环】函数遍历出来。
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/c9c0ec7f997c744dd5c32469e71604d9" alt="" />
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/48e756d71172a0dba51fd6bcaff42a08" alt="" /></p>
<h1>相关函数</h1>
<p>【构建字符串列表】函数、【遍历循环】函数</p>
<h1>示例/演示</h1>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/165b7426b202d9d03888c74f1168f74f" alt="" /></p>
<h1>示例附件</h1>
<p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/c20f1f9e49180ea1c5f6a69c6dfe5931" title="[组件[设置字符串列表项]_20210420.db">组件[设置字符串列表项]_20210420.db</a></p>