What are you talking about 'it dosent work?' Of course it works. ...hold on.
...Ok, I re-red your initial post. (Actualy i didnt fully read it before hand but i read it now though) You cant pass values to a procedure if the procedure dosent have any formal parameters. -e.g.
(defun c:my_main_procdure ()
... <code> ...
As you can see i cant pass anything to this procedure cause that functionality isnt built into it.
A prebilt express tool most likely isnt gonna be able to suport an argument. so... in short, you cant use my procedures that way. You would have to build your own "gatte" procedure.
Does this make sence?