Rebol Programming/offset?

From Wikibooks, open books for an open world
< Rebol Programming
Jump to navigation Jump to search

USAGE:[edit | edit source]

OFFSET? series1 series2 

DESCRIPTION:[edit | edit source]

Returns the offset between two series positions.

OFFSET? is a function value.

ARGUMENTS:[edit | edit source]

  • series1 -- (Type: series)
  • series2 -- (Type: series)

SOURCE CODE[edit | edit source]

offset?: func [
    "Returns the offset between two series positions." 
    series1 [series!] 
    series2 [series!]
    subtract index? series2 index? series1