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  

QuickList.Pop

Pops last value from the list.

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

MBS( "QuickList.Pop"; ListRef )

Parameters

Parameter Description Example value
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


QuickList.Or   -   QuickList.PopFirst

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins