Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Adds a value to the list.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
List | 4.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
ListRef | The reference to the list returned from QuickList.New function. | $List |
Text | The text to add. | "Hello" |
Returns OK or error.
Add items to a list:
$listID = MBS( "QuickList.New"; "Hello¶World")
$r = MBS( "QuickList.AddValue"; $listID; "1234" )
$r = MBS( "QuickList.AddValue"; $listID; "5678" )
$list = MBS( "QuickList.GetList"; $listID)
$r = MBS("QuickList.Release"; $listID)
Created 21st September 2014, last changed 14th December 2023