Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
Document Table of Contents

IPXFARGC

POSIX Function: Returns the index of the last command-line argument.

Module

USE IFPOSIX

result = IPXFARGC( )

Results

The result type is INTEGER(4). The result value is the number of command-line arguments, excluding the command name, in the command used to invoke the executing program. A return value of zero indicates there are no command-line arguments other than the command name itself.

See Also