Difference: 0LASubrDataGetParamValue (1 vs. 2)

Revision 22020-03-04 - JeanNeron

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

.DATA GET PARAM VALUE

Line: 6 to 6
 

Usage:

Changed:
<
<
      PASS         <stream_name>              FIELD            SHARE? N
      PASS         <pathname>                 FIELD            SHARE? N
      PASS         <open_mode>                FIELD            SHARE? N
      PASS         <line_termination>         FIELD            SHARE? N
      GOSUB    --- .STREAM OPEN
      *        check for errors
      IF       --- .STREAM OPEN               NE

>
>
      PASS         <VALUE>                    FIELD            SHARE? Y
      PASS         <PARAM_NAME>               FIELD            SHARE? N
      PASS         <PRIORITY_1>               FIELD            SHARE? N
      PASS         <PRIORITY_2>               FIELD            SHARE? N
      PASS         <PRIORITY_3>               FIELD            SHARE? N
      GOSUB    --- .DATA GET PARAM VALUE
      *        Check for errors
      IF       --- .DATA GET PARAM VALUE      NE

 

Description:

Added:
>
>
This subroutine allows you to get the value of a field from the URL.

<VALUE> is the value returned (Required). It must be PASSed with Share = Y to receive the value

<PARAM_NAME> is the parameter whose value you want to retrieve (Required).

<PRIORITY_x> is the priority to use when retrieving the named parameter (Optional). Valid values are GET, POST and URL. If you don't specify a priority, the subroutine will use POST, GET, URL for POST type requests and GET, URL for all others. You can PASS up to 3 priorities.

 

Comments


<--/commentPlugin-->

Revision 12020-03-04 - JeanNeron

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

.DATA GET PARAM VALUE

This subroutine allows you to get the value of a field from the URL. This is only useful when working with the Data API (Release 5.5.0 & higher)


Usage:

      PASS         <stream_name>              FIELD            SHARE? N
      PASS         <pathname>                 FIELD            SHARE? N
      PASS         <open_mode>                FIELD            SHARE? N
      PASS         <line_termination>         FIELD            SHARE? N
      GOSUB    --- .STREAM OPEN
      *        check for errors
      IF       --- .STREAM OPEN               NE

Description:

Comments


<--/commentPlugin-->

-- Jean Neron - 2020-03-03

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