4D v16.3

New list

Home

 
4D v16.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 APPEND TO LIST command.



See also 

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

 
PROPERTIES 

Product: 4D
Theme: Hierarchical Lists
Number: 375

 
HISTORY 

Created: 4D v6

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)