LIST.Fill

Previous  Next

 

count = LIST.Fill( lid   AS HANDLE,

                   itx   AS INTEGER,

                   value AS VARIANT ) AS INTEGER

 

count = LIST.Fill( lid    AS HANDLE,

                   item   AS STRING,

                   value  AS VARIANT ) AS INTEGER

 


 

Fills the list with specified Item.  The function returns the number of items filled.

 

Example:

 

DIM hList AS HANDLE

 

hList = LIST.Create( "Kalle", STRING, "Nisse", REAL, 4 )

 

' Fill the List with some values

 

LIST.Fill( hList2, 0, "???" )

LIST.Fill( hList2, "Nisse", 999.999 )