pspp-dev
[Top][All Lists]
Advanced

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

Re: ADD FILES and UPDATE


From: Ben Pfaff
Subject: Re: ADD FILES and UPDATE
Date: Tue, 02 Dec 2008 20:36:04 -0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Jason Stover <address@hidden> writes:

> As a naive user of compare_values, I had assumed I could call it to
> compare values, and not have to worry about how many characters were
> in the values. 

Understandable, and that's why I changed the name: it wasn't a
good one.

> Now I'm thinking I need to learn otherwise.  So how should I be
> using compare_values? Should I add my own code to check the
> number of characters in the union value every time I want to
> compare values?

Use the newly introduced compare_values_3way(), which I believe
does what you want.  The function comment should explain it.  If
it does not do what you want, then please tell us how it is wrong
or inadequate for what you want, and we will come up with
something better.
-- 
"A computer is a state machine.
 Threads are for people who cant [sic] program state machines."
--Alan Cox




reply via email to

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