Rossko, Thanks for the link as it does talk about the precise nature of the values set to a function http://webdevelopersjournal.com/articles/jsintro3/js_begin3.html
On Feb 5, 11:17 am, Rossko <[email protected]> wrote: > > When we define a marker var and function why is it they generally have > > different declared values? > > functions like 'createMarker' are user-defined. > In theory, you've written it yourself and call the parameters whatever > you like. > In practice, if you copy/paste other folks functions you'll have names > that they thought appropriate. > As it's a user defined function you can change them if you don't like > them. > The names used in defining the function are really just placeholders > function doSomething (first,last) { .... } > you can call this using > doSomething (apples, oranges) > or even > doSomething (last, first) which may not do what you expect ... > > http://webdevelopersjournal.com/articles/jsintro3/js_begin3.html > > cheers, Ross K --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
