answersLogoWhite

0


Best Answer

Array is a ranged variable, using it is required by many actions.. like where you going to processing data from a file where there is n lines in a file and you want to get one line of it..

ex: if variable $line is an array of lines in a text file:

$line[1] is second line of the file... just keep it in mind arrays starts from zero :) it means line 1 of the file will be accessed with $line[0];

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is an Array and to use Array in Action script?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you add two matrices using Linux shell script?

write ashell script to add awo matrix using array.


How do you write a flash program?

Action Script 1.0 to Action Script 3.0 depending on the version of Flash you are using.


What is the simple code for action script?

2133451


How many types of action script?

3


How do you swap two adjecent no in array in c?

Option 1) Use a temporary variable: int x = array[i]; array[i] = array[i+1]; array[i+1] = x; Option 2) Use bit operators: array[i] ^= array[i+1] ^= array[i];


How do you convert a present tense to a past tense sentence by using shell script?

To convert a present tense sentence to past tense in a shell script, you can use tools like sed or awk to replace the verb forms. For example, you can use sed to replace "is" with "was" or "goes" with "went". Write a script that searches for specific present tense verbs and replaces them with their corresponding past tense forms.


How does an array differ from a array?

'a array' is substandard, if you use it, you might be frowned upon.


What is action script?

http://en.wikipedia.org/wiki/Action_Script


What is action-script?

http://en.wikipedia.org/wiki/Action_Script


Difference between action script 2 and action script 3?

ActionScript 3 is the newer, quicker version of Adobe Flash's ActionScript. AS3, as Action Script 3 is normally called, is harder and more complicated for beginners, but much easier and more effective in the long run.


How do you generate Array outofbound error in c?

You test the computed or provided subscript before you use it and take action as appropriate. int somearray[100]; int i = 123; if (i < 0 i > 99) { fprintf (stderr, "Array out-of-bounds!\n") exit (1); } ... use somearray[i] ...


What is a cartoon script?

A script regardless of animated of live action is the story that is told in an episode of television or theatrical film.