< Rebol Programming

USAGE:

LOAD-STOCK-BLOCK block 

DESCRIPTION:

Load a block of stock image names. Return block of images.

LOAD-STOCK-BLOCK is a function value.

ARGUMENTS:

  • block -- (Type: any)

SOURCE CODE

load-stock-block: func [
    {Load a block of stock image names. Return block of images.} 
    block /local list
][
    list: copy [] 
    foreach name block [append list load-stock name] 
    list
]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.