[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
exist() function
From: |
Lorenzo M. Catucci |
Subject: |
exist() function |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- exist() function,
Lorenzo M. Catucci <=