Last modified on 31 October 2012, at 15:57

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 CODEEdit

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