Example
The following example uses the assignment (=) operator to assign a numeric value to the
variable
:
weight
weight = 5;
The following example uses the assignment (=) operator to assign a string value to the variable
:
greeting
greeting = "Hello, " and personName;
/* (block comment)
Availability
Flash Lite 1.0
Usage
/* comment */
/* comment
comment */
Operands
Any characters.
comment
Description
Comment delimiter; indicates one or more lines of script comments. Any characters that
appear between the opening comment tag (/*) and the closing comment tag (*/) are
interpreted as a comment and ignored by the ActionScript interpreter.
Use the // (comment delimiter) to identify single-line comments. Use the /* comment
delimiter to identify comments on multiple successive lines. Leaving off the closing tag (*/)
when using this form of comment delimiter returns an error message. Attempting to nest
comments also returns an error message.
After you use an opening comment tag (/*), the first closing comment tag (*/) will end the
comment, regardless of the number of opening comment tags (/*) placed between them.
See also
// (comment)
/* (block comment)
83
Need help?
Do you have a question about the FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE and is the answer not in the manual?