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_getalias([<getn>|<variablec>]) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Syntax: N_GETALIAS([<getN>|<variableC>])

Returns alias-> associated with specified Get.

Example

@ 1,0 SAY "SS Number:" GET Cust->ssno
@ 2,0 SAY "Order ID :" GET Order->ssno
@ 3,0 SAY "Name     :" GET Mname
? N_GETALIAS(1)
  CUST->
? N_GETALIAS(2)
  ORDER->
? N_GETALIAS("SSNO")
  < undefined result: may be CUST-> or ORDER-> >
? N_GETALIAS(3)
  M->

Notes

If no parameter is specified, the currently active Get is assumed.

The alias will be returned regardless of whether the Get was originally
issued with an alias clause.

If the specified Get is not valid, or if no Gets are active, a null string
("") is returned.

If the Get is a database <field> then the symbolic Alias is returned
followed by "->" (e.g., "CUST->").  If the Get is a <memvar> then "M->" is
returned.  If the Get is an array element then null string ("") is returned.

See Also: N_GETVAR

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