Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Nanforum Toolkit v2.1 Reference Guide - <b>a_choice()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 A_CHOICE()
 Psuedo function to simplify FT_ACH2TB()
------------------------------------------------------------------------------

 Syntax

      See FT_ACH2TB()

 Arguments

     See FT_ACH2TB()

 Returns

     See FT_ACH2TB()

 Description

     The A_CHOICE() UDC in FT_ACH2T.CH makes using FT_ACH2TB() a breeze.
     The myriad of parameters can be written in any order.  Only <nToprow>,
     <nTopcol>, and <aArrey> are required.  See the example below.

     Be sure to check the documentation for ft_ach2tb() for more
     details.


 Examples

  nOpt := A_CHOICE( 7,9,, ARRAY:t_arrey USERFUNC:{|a,b| UserFunc(a,b,any1)};
          BOXTYPE:B_SINGLE  BOXTITLE:title  SHADOW:"R" TAGCHAR:chr(17);
          REST_SCREEN:.F. AUTOEXEC:.F. MES_COLOR:MSG_COLOR ELEVBAR:"#" ;
          NOSELCOLOR:"bg/n")

  Check only the RETURNed element:
  IF Was_Tagged(chr(17),t_arrey,nOpt); MoreProcessing(); END

  Check entire 't_arrey':
  Aeval( t_arrey,{|e,n| IF( Was_Tagged(chr(17),t_arrey,n ), ;
                            MoreProcessing(t_arrey),NIL ) } )



 Source: FT_ACH2T.CH

 Author: Steve Kolterman

See Also: FT_ACH2TB()

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