Flash Lite 1.x ActionScript Language Reference |
|
|
|
| Flash Lite Operators > " " (string delimiter) | |||
Flash Lite 1.0.
"text"
text Zero or more characters.
String delimiter; when used before and after a sequence of zero or more characters, quotation marks indicate that the characters have a literal value and are considered a string; they are not a variable, numeric value, or other ActionScript element.
This example uses quotation marks to indicate that the value of the variable yourGuess is the literal string "Prince Edward Island" and not the name of a variable. The value of province is a variable, not a literal; to determine the value of province, the value of yourGuess must be located.
yourGuess = "Prince Edward Island";
on(release){
province = yourGuess;
trace(province); // output: Prince Edward Island
}
|
|
|
|