Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Flipper 6.0 Help File - <b>layer_curr()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
LAYER_CURR()
   Returns the current layer or sets a new current layer.

   Syntax
         nCurrentLayer = LAYER_CURR([nLayer])

   Arguments
         OPTIONAL PARAMETERS
         nLayer              Sets the number of the new layer to select.

   Returns
         nCurrentLayer       Returns the current layer number.

   Description
         Returns the current layer and, optionally, changes to a new, open
         layer. If an invalid/closed layer is specified, the layer remains
         unchanged.

   Examples

         The following code would find the current layer:

         cur_layer = LAYER_CURR()                   && Get current layer #

See Also: LAYER_CNT() LAYER_INFO() LAYER_NUM() LAYER_ON()

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