BB___UPPER

=UPPER$= toc

Description
> Returns a copy of your string with all letters converted to upper case.

> See also LOWER$.

Syntax

 * 1) upper$(//string//)

Hints
> See LOWER$ for some hints.

Example
code format="lb" ' Convert headings to all caps [begin] ' Get user's input input "Enter the heading text: "; head$ ' Convert input to all upper case capHead$ = upper$(head$) ' Define message for the Confirm dialog c$ = "Use this for your heading?" + chr$(13) + _ capHead$ ' Open the Confirm dialog window confirm c$; answer$

' Get user's response if answer$ = "yes" then gosub [addToHeadingList] else print "The heading will NOT be added to the list." end if

' Add another? input "Continue (yes or no)? "; yesno$ ' Convert response to all upper case for accurate ' test in case user types mixed-case response if upper$(yesno$) = "YES" goto [begin] ' If response is NO, program ends end

[addToHeadingList] print capHead$; " has been added to your list." return end code

Useful Functions
code format="vbnet" Place a useful function using this command here code