函数功能描述 来源: 作者: 作者原述: 猫壹佰描述: 为值列表中的每个值增加前缀. 四个参数: theItem: 前缀 theList: 值列表 cont: 递归参数值 res: 递归返回值 测试文档下载: 调用范例 PrependToList ( "1" ; "a¶b¶c" ; 1 ; "" ) 返回结果 1.a1.b1.c 函数内容 /* * Purpose: Prepend a value into each value of a list * Autor: Angel Martinez Fernandez, Atatiki Group * Version: 1.0 * * Params: * -theItem : The value to prepend * -theList: List of values * -cont: Recursive number * -res: Result to return * * Vars: * -toAdd : The new item for -res * -count : Value count of -theList * * Notes: none */ Let ( [ count = ValueCount ( theList ); toAdd = theItem & "." & GetValue ( theList; cont ); res = List ( res ; toAdd ) ] ; If (cont < count ; PrependToList ( theItem ; theList ; cont + 1 ; res ) ; res ) ) 复制函数内容 当前页面使用FileMaker生成发布, 更新于2021年3月15日0时50分19秒