GENERATE/PREV.gifGENERATE/NEXT.gif

Positional and Keyword Arguments

A function can take two kinds of arguments:

Optional keyword arguments are useful in command languages where commands can have many options. They are particularly useful within MAX where most functions have numerous optional keyword arguments. For example, all scene object creation functions take optional keyword arguments for their creation parameters, sometimes more than 20, and using positional arguments would simply be unworkable.