palIntin palIntin - Convert free-format input into an integer

Description:
Extracts a number from an input string starting at the specified index.

Invocation:
void palIntin( const char $*$ string, int $*$nstrt, long $*$ireslt, int $*$jflag );

Arguments:

string = const char $*$ (Given)
String containing number to be decoded.
nstrt = int $*$ (Given and Returned)
Character number indicating where decoding should start. On output its value is updated to be the location of the possible next value. For compatibility with SLA the first character is index 1.
ireslt = long $*$ (Returned)
Result. Not updated when jflag=1.
jflag = int $*$ (Returned)
status: -1 = -OK, 0 = $+$OK, 1 = null, 2 = error

Notes: