From BR Wiki
Jump to navigation Jump to search
<1-30 alphanumeric characters and underscores, the first of which must be a letter (but not FN) which ends in a $. They also cannot be reserved words>

A string or string variable is a variable which may contain any type of characters. Strings are one of the two types of variables available in BR, the other is numeric. Strings may be formed into arrays of strings.

  • All normal Variable Naming Requirements apply
  • Variable name must end with $ (the $ does not count against the 30 character variable name limitation)
  • Default Dim Length of 18 characters

Below is an example of the use of a string in a short program:

00010 let myString$ = "BR kicks butt"
00020 print myString$

To learn more about the use of string variables, refer to the String Operations section.