# WGETINFO

Updated: 7/8/2020, 5:59:18 PM
Created: 7/8/2020, 5:59:18 PM
Last Updated By: Ryan Medina
Read Time: 1 minute(s)

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

# Command Syntax

CALL WGETINFO(POS,VALUE)
1

# Syntax Elements

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

# 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

# Notes

See WWW.INFO for details on the common.