Sign in Join
FPDoc Onlineexperiment

OptInd variable

In unit getopts

Index of the current paramstr().

Declaration

pascal
OptInd: LongInt

Description

when all options have been processed, optind is the index of the first non-option parameter. This is a read-only variable. Note that it can become equal to paramcount+1.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.