monzay

What exactly goes into the init(ial) function?

Discussion created by monzay on Nov 16, 2011
Latest reply on Nov 16, 2011 by DSwingley-esristaff
I've seen some samples where only the basics of defining and adding a map are there. I've seen some samples where there are functions and/or functions that respond to events are in there. I've seen some samples where these functions are outside of the init function. What is the general idea or best practices of what should go inside your init function be? Is there another document or web page that explains this?

Outcomes