return two different values
- To: mathgroup at smc.vnet.net
- Subject: [mg83829] return two different values
- From: vicky Al Aisa <vickyisai at gmail.com>
- Date: Sun, 2 Dec 2007 04:01:29 -0500 (EST)
Hello all I am writing a module, from which i want to return 2 different values, one table and one just a normal int i used this syntax in module Return[EMean,MeanImg]; and while receiving it in main program i use {MeanX,RedMeanVec}=CalcMean[RedImg]; is this correct, because i am getting some error..which mean that the arguments are not matching. so i tried to define those arguments , like i defined RedmeanVec as a table, but still it doesn work Error is below Break::nofunc Continue::nofunc Return::nofunc function::nofunc: Function f not found enclosing expr. I use Mathematica 5.2 Thnaks
- Follow-Ups:
- Re: return two different values
- From: "W. Craig Carter" <ccarter@mit.edu>
- Re: return two different values