[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
VS_Proper()          Sets the first letter to Uppercase

Description:

  VS_Proper() accepts a character string and converts all to lowercase,
  and then converts the first character to uppercase.

Syntax:     

  c_ProperString = VS_Proper( c_String )

Pass:       

  c_String is the character expression VS_Proper() is to convert.

Return:     

  c_ProperString is a character expression of c_String with the
  first character converted to uppercase and all others converted to
  lowercase.

Notes:      


Example:    

  ? VS_PROPER("this is a test.")

  Will return "This is a test."

Usage:      

  @ 10,10 SAY 'Please input your first name.'
  @ 11, 10 GET c_Fname
  read
  c_Fname := VS_PROPER(c_Fname)
  CLS
  @ 12,12 SAY "Hello, " + c_Fname

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