[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
CENTER()        Centers a string on the screen or printer

Description:
  CENTER() allows you to center a string within a given width.  CENTER()
  can be used either with screen or printer output.


Syntax:     
  CENTER( <expC> [, <expN>] )


Pass:       
  <expC>   = String to be centered

  <expN>   = Optional: width (default is 80)


Return:     
  <expN>   = Position to print string at


Notes:      


Example:    
  c_Temp = "This string will be centered on line ten"
  @ 10,CENTER(c_Temp) SAY c_Temp


Usage:      
  CENTER() comes in handy when you want to put text on the screen at
  exactly the center of a line.  CENTER() frees you from having to
  determine the proper amount of spaces yourself.

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