From help-octave-request at bevo dot che dot wisc dot edu Fri Apr 12 04:30:05 2002 Subject: Re: problem with function From: Mirek Kwasniak To: Anand Cc: help-octave at bevo dot che dot wisc dot edu Date: Fri, 12 Apr 2002 11:28:36 +0200 On Thu, Apr 11, 2002 at 05:52:03PM +0530, Anand wrote: [...] > >> findY (a, b, usd, lsd, 3.0) > warning: time stamp for > `/dsk1/student/anandss/PN2/Cprogs/Ver3/Octave/findY.m' is in the future > warning: near line 178, column 1: > > >>> findY (a, b, usd, lsd, 3) > > > ans = 1.1344 > > > Also, the function has only about 32 lines. Why am I getting an error on > line 177 ? I'd appreciate suggestions for writing functions. [...] Synchronize clock with your server :) In this warning line nr is related to calling function/script not your functiont findY, when you call a function from command-line you get line number of your current interractive session. Mirek ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------