Flash Arrays Research

29 10 2008
This is just a little bit of research for creating the Arrays, these codes have been trie and tested and are ready to be implemented into our script when we get to that stage.
 
Example 1:
E-mails = new Array();
E-mails[0] = “example@hotmail.co.uk”;
E-mails[1] = “example2@hotmail.co.uk”;
E-mails[2] = example3@hotmail.co.uk;
 
Example 2:
 
E-mails = new Array(“example@hotmail.co.uk”,“example2@hotmail.co.uk”,“example3@hotmail.co.uk”);
 
Example 3:
 
E-mails = new Array();
E-mails["hotmail"] = example@hotmail.co.uk;
E-mails["gmail"] = “example@gmail.co.uk”;
E-mails["yahoo"] = example@yahoo.co.uk”;
I think that for our Organism we will use either example 1 or example 3, example 1 would be good for simplicity and understanding of code but example 3 would be good if we needed to get a little more complex with the email system as it uses larger amounts of detail. 
 

 

 
Advertisement

Actions

Information

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s




Follow

Get every new post delivered to your Inbox.