Rebol Programming/offset?

USAGE:

edit
OFFSET? series1 series2 

DESCRIPTION:

edit

Returns the offset between two series positions.

OFFSET? is a function value.

ARGUMENTS:

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

SOURCE CODE

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