Re: your mail

From: <>
Date: Fri 08 Apr 2005 12:22:33 PM GMT
Message-ID: <>
On Fri, Apr 08, 2005 at 12:31:46AM -0700, Josee wrote:
> how would u write the c version of the following
> scheduling code. i seem to be having problems writing
> the code.

Can you tell us why you want the code written in C when you already have it
written in ECLiPSe?  What is the reason that the ECLiPSe code is
unsatisfactory, and what do you hope to gain by rewriting it in C?

> machtask([task(SN,_,_,_,M0)|Ts], M, D, TS, Variables) :-
> 	     (M #= M0 ->

Note that you should never put a constraint in the condition of an
if-then-else unless you *really* know what you're doing.  Probably you mean
`M == M0' rather than `M #= M0'.

Received on Fri Apr 08 13:24:42 2005

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:35 PM GMT GMT