Jump to content

Rebol Programming/load-stock-block

From Wikibooks, open books for an open world

USAGE:

[edit | edit source]
LOAD-STOCK-BLOCK block 

DESCRIPTION:

[edit | edit source]

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

LOAD-STOCK-BLOCK is a function value.

ARGUMENTS:

[edit | edit source]
  • block -- (Type: any)

SOURCE CODE

[edit | edit source]
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
]