To use this website fully, you first need to accept the use of cookies. By agreeing to the use of cookies you consent to the use of functional cookies. For more information read this page.

Official ZPE/YASS documentationlist_auto_populate

list_auto_populate (integer count, function process[, list l]) ⇒ list

Returns a list with count autofilled items and generated by a function, process. A list, l, can be specified to append to.

First available: Version 1.7.6

Examples

YASS
$l = list_auto_populate(100, function()
  return random_number(0, 100)
end function)
print($l)
    
Comments

There are no comments on this page.

New comment
Reply
Provide feedback on this page
Comments are sent via email to me.