This preview shows page 1. Sign up to view the full content.
Unformatted text preview: another (among other things). The only operation that specifically handles symbols is checking whether two symbols are the same (using symbol=? ). You cannot perform any operation that requires looking at the characters in the symbol (as alphabetic ordering would require). Which Should I Use? Symbols are good for enumerating a fixed set of choices that you want to represent as words (like 'small , 'medium , 'large ). If you want data that can have a non-standard number of variations, such as names, use strings. You can use punctuation marks to get the effect of space in symbols (as we did with the 'hot-dog symbol). 1101 Home Page file:///C|/Documents%20and%20Settings/Linda%20Grauer/My. ..to%20Design%20Programs/Notes/08.28%20symbol-string.html [2/5/2008 5:08:00 PM]...
View Full Document
- Fall '07