Need Help to Understand Things

451
1
10-16-2011 11:02 AM
MichaelRiddle
New Contributor
Hi everyone, as my name indicates I am a noob to coding and learning tons through these threads. But I think I am missing some basics. Any help with this would be greatly appreaciated.

What specific statements are required so the compiler knows were the components are for an API? and what is the benefits of using an Array?

Thanks for ignoring my ignorance...
0 Kudos
1 Reply
derekswingley1
Frequent Contributor
What specific statements are required so the compiler knows were the components are for an API?


You get access to the API by including it in your page via a script tag:
<script src="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.5"></script>


what is the benefits of using an Array?

Depends what you need to do...can you be more specific?
0 Kudos