# WGETINFO

Updated: 9/28/2020, 10:32:47 PM
Created: 9/28/2020, 10:32:47 PM
Last Updated By: Peter Schellenbach
Read Time: 1 minute(s)

The WGETINFO subroutine allows you return directly information from WWW.INFO common.

# WGETINFO Syntax

CALL WGETINFO(POS,VALUE)
1

# Syntax Elements

Parameter Description
POS WWW.INFO Dynamic position you wish to get.
VALUE Returned Value

# WGETINFO Example

* Dynamically find all Variables passed by client
CALL WGETINFO(25,VAR.NAMES)
NUM.VARS=DCOUNT(VAR.NAMES,@AM)
FOR V=1 TO NUM.VARS
  VAR.NAME=VAR.NAMES<V>
  CALL WGETVAR(VALUE,VAR.NAME)
    PRINT VAR.NAME:"=":VALUE
NEXT V
1
2
3
4
5
6
7
8

# WGETINFO Notes

See WWW.INFO for details on the common.