Learning ActionScript 2.0 in Adobe Flash |
|
|
|
| Data and Data Types > About data types > About primitive and complex data types > Void data type | |||
The Void data type has one value, void, and is used in a function definition to indicate that the function does not return a value, as shown in the following example:
//Creates a function with a return type Void
function displayFromURL(url:String):Void {}
|
|
|
|