I do this more often than not. Just a memo. This is syntax for ActionScript 3, but I am sure it can be used for many other languages. var teams = new Array(); teams["BOS"] = “Boston Red Sox”; teams["NYY"] = “New York Yankees”; teams["ARI"] = “Arizona Diamondbacks”; teams["ATL"] = “Atlanta Braves”; teams["BAL"] = “Baltimore Orioles”; [...]
- Welcome to Daigo’s Daily Digital Diorama. I blog about... whatever that comes to my mind.
Change color
Archives
Calendar
Categories
