[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'LResources' (#lcl)

TLRPositionLinks.IndexOfRange

Find a random item within an position range.

Declaration

Source position: lresources.pp line 334

public function TLRPositionLinks.IndexOfRange(

  const FromPos: Int64;

  const ToPos: Int64;

  LFMPositions: Boolean

):Integer;

Arguments

FromPos

  

First acceptable position.

ToPos

  

First position after the range (exclude)

LFMPositions

  

True for searching LFM positions.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.