4D v14.3

New list

Home

 
4D v14.3
New list

New list 


 

New list -> Function result 
Parameter Type   Description
Function result  ListRef in List reference number

New list creates a new, empty hierarchical list in memory and returns its unique list reference number.

WARNING: Hierarchical lists are held in memory. When you are finished with a hierarchical list, it is important to dispose of it and free the memory, using the command CLEAR LIST.

Several other commands allow you to create hierarchical lists:

  • Copy list duplicates a list from an existing list.
  • Load list creates a list by loading a Choice List created (manually or programmatically) in the Design enviornment List Editor.
  • BLOB to list creates a list from the contents of a BLOB in which a list was previously saved.

After you have created a hierarchical list using New list, you can:

Example  

See example for the command APPEND TO LIST.

 
PROPERTIES 

Product: 4D
Theme: Hierarchical Lists
Number: 375

 
HISTORY 

Created: 4D v6

 
SEE ALSO 

APPEND TO LIST
BLOB to list
CLEAR LIST
Copy list
DELETE FROM LIST
INSERT IN LIST
LIST TO BLOB
Load list

 
ARTICLE USAGE

4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v11 SQL Release 6)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)