MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Module command acting funny...

  • To: mathgroup at smc.vnet.net
  • Subject: [mg58254] Re: Module command acting funny...
  • From: frank <frank at kuesterei.ch>
  • Date: Sat, 25 Jun 2005 01:56:13 -0400 (EDT)
  • References: <200506240650.CAA29468@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

"plizak" <plizak at gmail.com> wrote:

> computeIndividualCDOPLB[ filteredTimes ] := Module[
>    {i},
>    Print[ "computing IndividualCDOPLB"];
> ];
>
> mathcode(A1:A6), result is NULL (which means no errors).
>
> But when I call this module, it doesn't run (i.e. the output is not
> printed.
>
> When I remove the semicolon at the end of the print statement, it
> works!  Until I recompile it again and then it doesn't work until I add
> the semicolon back in.

Here it does not behave like this:

In[7]:=
computeIndividualCDOPLB[filteredTimes] := 
    Module[{i}, Print["computing IndividualCDOPLB"];
      ];
In[8]:=
computeIndividualCDOPLB[filteredTimes]
From In[8]:=
computing IndividualCDOPLB
In[9]:=
computeIndividualCDOPLB
Out[9]=
computeIndividualCDOPLB

Regards, Frank

-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer


  • Prev by Date: Re: Re: Asking questions
  • Next by Date: Re: Asking questions
  • Previous by thread: Module command acting funny...
  • Next by thread: Re: Module command acting funny...