# MArgList, what the heck?

**URL:** https://forum.highend3d.com/t/marglist-what-the-heck/7637
**Category:** Maya
**Tags:** mel
**Created:** [September 22, 2000, 12:21am UTC](https://forum.highend3d.com/t/marglist-what-the-heck/7637 "2000-09-22T00:21:22Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![benji](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/b/f17d59/32.png) [@benji](https://forum.highend3d.com/u/benji)
#### Post date: [September 22, 2000, 12:21am UTC](https://forum.highend3d.com/t/marglist-what-the-heck/7637/1 "2000-09-22T00:21:22Z")

</div>

Does anyone find Maya's concept of the MArgList tedious?  
Basically I am having to parse a collection of arguments  
and test for the presents of arguments.. Is it possible to simply define a ::doIt( ) method with its own parameters, such as in MyCommand::doIt( int x, double y ) ? This makes more sense to me? I understand that having the arg list lets me have variable length arguments or arbitrary order, but what if i don't want that?

Benjamin
