From help-octave-request at bevo dot che dot wisc dot edu Wed Jan 21 04:07:12 1998 Subject: exist() function From: "Lorenzo M. Catucci" To: Octave Help List Date: Wed, 21 Jan 1998 11:07:03 +0100 (CET) Now, I learnt about exist, and can do something like this: function a=f(x) a=2*x; end and then exist("f") 2 (sorry, no cut and paste on this dumb terminal) Now, what I'd need is to know if the string I'd pass to eval could be parsed, like in exist("f(y)") which instead returns with an ugly 0... maybe I could try and look at some string editing function, but it looks ugly... Yours, lorenzo