Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

List.SetValue

Sets a value in the list.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
List 7.1 Yes Yes Yes Yes Yes

MBS( "List.SetValue"; List; Index; Text )

Parameters

Parameter Description Example value
List The list to process. "Hello" ¶ "" ¶ "World"
Index The index of the value to get. Must be in range from 0 to QuickList.Count-1. $index
Text The text to add. "Hello"

Result

Returns list or error.

Description

Sets a value in the list.
If index is equal to count, we append the text to the list.
For big lists, using QuickList functions is much faster. The list is only parsed once and stored in memory.

See also


List.Serialize   -   List.Sort

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins