Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides
New in version: 5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2    Statistic  

List.SetValue

Sets a value in the list.

Component: List
Version: 7.1
Mac OS X: Yes
Windows: Yes
Server: Yes
FileMaker Cloud: 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 Realbasic Plugins - Pfarrgemeinde Messdiener Nickenich