Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

QuickList.Pop

Pops last value from the list.

Component Version macOS Windows Linux Server iOS SDK
List 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "QuickList.Pop"; ListRef )   More

Parameters

Parameter Description Example
ListRef The reference to the list returned from QuickList.New function. $List

Result

Returns value or error.

Description

Pops last value from the list.

Examples

Push and pop:

Set Variable [$list; Value:MBS( "QuickList.New" )]
Set Variable [$r; Value:MBS( "QuickList.Push"; $list; "Hello" )]
Set Variable [$r; Value:MBS( "QuickList.Push"; $list; "World" )]
Show Custom Dialog ["List"; MBS( "QuickList.Pop"; $list )]
Show Custom Dialog ["List"; MBS( "QuickList.Pop"; $list )]
Set Variable [$r; Value:MBS( "QuickList.Free"; $list )]

See also

This function checks for a license.

Created 2nd August 2015, last changed 2nd August 2015


QuickList.OrColumn - QuickList.PopFirst

💬 Ask a question or report a problem