REBOL Programming/offset?

< REBOL Programming

USAGE:

OFFSET? series1 series2 

DESCRIPTION:

Returns the offset between two series positions.

OFFSET? is a function value.

ARGUMENTS:

SOURCE CODE

offset?: func [
    "Returns the offset between two series positions." 
    series1 [series!] 
    series2 [series!]
][
    subtract index? series2 index? series1
]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.