[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
ASK2()          Asks the user a multi-line question

Description:
  ASK2() prompts the user with a multiple line question for a one letter
  response and returns the key the user pressed.  The response can be
  limited to specific characters.  ASK2() is non-screen destructive.


Syntax:     
  ASK2( <expAC>, <expN1>, <expC1>, <expC2>, <expC3> [, <expN2> [,
  <expN3>] ] )


Pass:       
  <expAC>  = Name of array containing question

  <expN1>  = Number of elements to display

  <expC1>  = Window Title (top - offset to left)

  <expC2>  = Window Footnote (bottom - centered)

  <expC3>  = List of acceptable characters (the first character is used
  as the default response should the user simply press the [Return]
  key).

  <expN2>  = Optional: Top row of window

  <expN3>  = Optional: Left column of window


Return:     
  <expC>   = The key the user pressed


Notes:      


Example:    
  ac_msg[1] = "This is line one"
  ac_msg[2] = "This is line two"
  ac_msg[3] = "Which do you like best"
  c_memvar = ASK2(ac_msg,3,"","","123")
  ? "You selected line number " + c_memvar


Usage:      
  ASK2() is of benefit when it becomes neccessary to ask the user a
  question of quite some length.  i.e. "WARNING: Proceeding with this
  operation will completely erase all data files.  Please be sure you
  have made sufficient backups.  Are you sure you want to continue?"

See Also: ASK() DISPMSG() VWIND()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson