octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to compare 2 octave_value's without error


From: Michael Goffioul
Subject: How to compare 2 octave_value's without error
Date: Sat, 19 Nov 2011 23:14:28 +0000

Hi,

I'm in the process of implementing waitfor and I need to compare 2
octave_value objects, but I don't want the comparison to throw any
error if the comparison cannot be made (like comparing apples and
pears), I just want to return false.

At the moment, I'm using the operator== but I'm sure that's not gonna
do it. What's the recommended way to do that?

Michael.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]