Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- GetIt Reference Guide - syntax: n_getvar([<getn>]) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Syntax: N_GETVAR([<getN>])

Returns variable name associated with specified Get number.

Example

@ 1,0 SAY "SS Number:" GET Cust->ssno
@ 2,0 SAY "Name     :" GET Mname
? N_GETVAR(1)
  SSNO
? N_GETALIAS(1)
  CUST->
? N_GETVAR(2)
  MNAME
? N_GETALIAS(2)
  M->

Notes

If no parameter is specified then the currently active Get is assumed.  If
an invalid Get is specified or if no Gets are active then null string is
returned.

If the specified Get is a field name, then the name is returned without the
"alias->" prefix, even if one was specified in the GET command.  Use
N_GETALIAS() to obtain the field's alias, if needed.

If the specified Get is an array variable then the name is returned with the
[element number].

See Also: N_GETALIAS

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson