Mega Code Archive
Search
.Net
ASP .Net
ASP .Net Tutorial
C#
C# Book
C# by API
C# Tutorial
VB.Net
VB.Net by API
VB.Net Tutorial
Visual C++ .Net
VisualBasic Script
Java
Java
Java Book
Java by API
Java Tutorial
Script
Flash ActionScript
Flex
JavaScript DHTML
JavaScript Reference
JavaScript Tutorial
Database
MSSQL
MSSQL Tutorial
MySQL
MySQL Tutorial
Oracle PLSQL
Oracle PLSQL Tutorial
PostgreSQL
Languages
Android
C
C Tutorial
C++
C++ Tutorial
Delphi
Perl
PHP
Python
Python Tutorial
Ruby
Silverlight
Office
MSOfficeExcel 2007 Tutorial
MSOfficePowerPoint 2007 Tutorial
MSOfficeWord 2007 Tutorial
Data
XML
XML Tutorial
Flash ActionScript
Function 39 codes
Home
Flash ActionScript
Function
1 A function that calculates the area of a rectangle and returns the value as a number
2 A method assigned to a variable can be invoked via that variable using the standard parentheses operator, ( )
3 Accessing Definitions from Within a Function
4 All arguments that have a default value must all be placed last in the order of arguments
5 Assign value returned from a function to a variable
6 Bound Methods, which is treated as a value
7 Calling Functions
8 Complex data types, like Array, pass values by reference
9 Creating Anonymous Functions
10 Creating Recursion function
11 Define a function
12 Defining a Return Type for Your Function
13 Function definition with multiple arguments
14 Function to search an array
15 Function type variable
16 Functions as Objects
17 Global Functions
18 Handling an Unknown Number of Parameters
19 If you attempt to actually return a value in a void method, the compiler generates an error
20 Mix the named parameter and unnamed parameters
21 Nested function call
22 Nested Functions
23 Obtaining the Result of a Method
24 Package-Level Functions
25 Passing Parameters by Value or by Reference
26 Passing Parameters to a function
27 Passing Parameters to Your Function
28 Primitive data types are passed by value
29 Referencing Functions
30 Return value from function
31 Returning void
32 Setting Default Values
33 Source-File-Level Functions
34 The rest parameter can also be used with other required parameters
35 The return statement exits the current method
36 Use a return statement to exit a method under certain conditions
37 Use the return value of a method, without storing it in a variable, by passing it as a parameter to another function
38 Using the Rest Argument ( )
39 Writing Recursive Functions