Last modified on 30 October 2012, at 11:30

REBOL Programming/index?

USAGE:Edit

INDEX? series /xy 

DESCRIPTION:Edit

Returns the index number of the current position in the series.

INDEX? is an action value.

ARGUMENTS:Edit

  • series -- (Type: series port)

REFINEMENTS:Edit

  • /xy -- Returns index as an XY pair offset.

SOURCE CODEEdit

index?: native[
    {Returns the index number of the current position in the series.} 
    series [series! port!] 
    /xy "Returns index as an XY pair offset."
]