• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 13. ESSENTIAL LINGO SYNTAX > USING STRING VARIABLES

USING STRING VARIABLES

The other basic type of variable is the string, which stores a series of characters. Strings can be as simple as a single character, as complex as words, lines, or pages of text, or can even contain no characters at all. The following examples demonstrate different types of strings in the Message window:

myString = "A"
put myString
-- "A"
myString = "Hello"
put myString
-- "Hello"
myString = "Hello World."
put myString
-- "Hello World."
myString = ""
put myString
-- ""
					


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint