Strings are enclosed in double quote characters ("). To include a double quote character in a string, type it twice ("") inside the larger string. Thus "Hello" is a string, as is "She said, ""How are you?""". An empty string is simply written as "".
We'll find out later how to represent control characters, but for now we'll note that C-like escape characters do not work. You can do the same thing in Ada but in a different way, and because of the way Ada works they aren't used as often.
Given the following items:
Which of the following is true?
![]() |
![]() |
![]() |
---|
David A. Wheeler (dwheeler@dwheeler.com)
The master copy of this file is at
"http://www.adahome.com/Tutorials/Lovelace/s3sf.htm".