Xref: utzoo comp.sys.mac.programmer:16089 comp.sys.mac.hypercard:4036 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!andrew.cmu.edu!jk4i+ From: jk4i+@andrew.cmu.edu (John McCall Kingsley, III) Newsgroups: comp.sys.mac.programmer,comp.sys.mac.hypercard Subject: sending arguments to xcmds Message-ID: <4addUFa00WB9IaE0YL@andrew.cmu.edu> Date: 20 Jul 90 05:35:13 GMT Organization: Class of '91, Carnegie Mellon, Pittsburgh, PA Lines: 14 I am trying to write an xcmd that takes 4 arguments, i.e. myxcmd("arg1", "arg2", "arg3", "arg4"). I am only able to make this work with one argument, and when ever I add the code for multiple arguements (all arguments are strings.) I get an error from HC the it expects a ) but found a ,. If I do not use the quotes, I have problems and I cannot split the parts into the proper variables in my xcmd. I am using thinkc 3.0. Does anyone have any pointers on how to go about this, or some sample code they would like to send me., Thanks, Jack