Silverfrost Logo About Us | Contact Us
 

GET_COMMAND

Platform

x64, Win32, .NET

Purpose

To get the whole command line.

Syntax

SUBROUTINE GET_COMMAND([COMMAND, LENGTH, STATUS])
CHARACTER (LEN=*) COMMAND
INTEGER LENGTH, STATUS

Description

COMMAND is an optional INTENT(OUT) argument. When present it receives the entire command line.

LENGTH is an optional INTENT(OUT) argument. When present it receives the length of the command by which the program was invoked.

STATUS is an optional INTENT(OUT) argument that receives the error state. It is set to zero on success. A value of -1 indicates that the length of COMMAND is insufficient for the command line. A positive value indicates an error condition.

Notes

This is an F2003 standard intrisic.

 

 

Copyright © 1999-2017 Silverfrost Limited