Difference: 0LASubrEnvGetCmdLineParm (1 vs. 3)

Revision 32012-02-10 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="APPXRuntimeSubroutineAPI"

.ENV GET CMD LINE PARM

Line: 17 to 17
  This subroutine returns the value of a command line parameter. All parameters are required, if any are missing the subroutine will CANCEL.
Changed:
<
<
<param_value> will contain the value of the command line parameter, if it was specified on the command line that started this Appx session (Required). This must be PASSed with Share "Y" to return the value.
>
>
<param_value> returns the value of the command line parameter, if it was specified on the command line that started this Appx session (Required). This must be PASSed with Share "Y" to return the value.
  <param_name> is the name of the command line parameter for which you want the value (Required). Note that this must include the leading dash, if one was specified. For example, if "-data=012512" was entered on the command line that started this Appx session, then you would pass "-data" to this subroutine.

Revision 22012-01-26 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="APPXRuntimeSubroutineAPI"

.ENV GET CMD LINE PARM

Line: 15 to 15
 

Description:

Changed:
<
<
This subroutine returns the the value of a command line parameter. All parameters are required, if any are missing the subroutine will CANCEL.
>
>
This subroutine returns the value of a command line parameter. All parameters are required, if any are missing the subroutine will CANCEL.
  <param_value> will contain the value of the command line parameter, if it was specified on the command line that started this Appx session (Required). This must be PASSed with Share "Y" to return the value.

Revision 12012-01-25 - JeanNeron

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="APPXRuntimeSubroutineAPI"

.ENV GET CMD LINE PARM

This subroutine returns the value of a command line parameter.


Usage:

      PASS         <param_value>              FIELD            SHARE? Y
      PASS         <param_name>               FIELD            SHARE? N
      GOSUB    --- .ENV GET CMD LINE PARM
      *        Check for errors
      IF       --- .ENV GET CMD LINE PARM     NE

Description:

This subroutine returns the the value of a command line parameter. All parameters are required, if any are missing the subroutine will CANCEL.

<param_value> will contain the value of the command line parameter, if it was specified on the command line that started this Appx session (Required). This must be PASSed with Share "Y" to return the value.

<param_name> is the name of the command line parameter for which you want the value (Required). Note that this must include the leading dash, if one was specified. For example, if "-data=012512" was entered on the command line that started this Appx session, then you would pass "-data" to this subroutine.

If the field you passed is too short to contain the data, --- .ENV GET CMD LINE PARM will be set to "Data was truncated".

Comments:

Read what other users have said about this page or add your own comments.


<--/commentPlugin-->

-- JeanNeron - 2012-01-25

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback