Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Tom Rettigs Library - getarea(<c workarea>, <c function>) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 GETAREA(<C workarea>, <C function>)
 Obtains the result of a function from an unselected workarea.
 Returns the result of <function> in <workarea>.

 <workarea> can be <expC> alias name or alias letter (A to J),
            or <expN> work area number (1 to 250).
 <function> must include the function's parentheses.

 GETAREA( 3, "EOF()" )
 * returns result of EOF() in work area 3

 GETAREA( "D", "FOUND()" )
 * returns result of FOUND() in work area D
 * use with SET RELATION

 area = "Names"
 func = "LASTREC()"
 GETAREA( area, func )
 * returns result of LASTREC() in "Names" area

 Hazard
    Makes no sense to use with functions, such as TIME() or LEN(),
    that are not specific to a single work area.


             Placed in the Public Domain by Tom Rettig Assoc.

See Also: NEXTAREA()

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