Unit 'LResources' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TLRPositionLinks.IndexOfRange

Find a random item within an position range.

Declaration

Source position: lresources.pp line 330

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.