4D v13.4

New list

Home

 
4D v13.4
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

 
INDEX

Alphabetical list of commands

 
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