|
From: | Daniel Diaz |
Subject: | Re: 'mod' and 'div' need brackets ro read as atoms |
Date: | Fri, 5 Aug 2011 08:53:18 +0200 |
hello Jasper, gprolog 1.4.0 follows the "next" Prolog ISO standard (which is in fact a corrigenum) called DTC2 in which div is an operator (flooring integer division). As an argument of an operator you have to write (div). E.g. instead of P = div you have to write P = (div). This is compatible with older versions of gprolog. Daniel Le 4 août 2011 à 18:50, Jasper Taylor a écrit :
-- Ce message a été vérifié par MailScanner pour des virus ou des polluriels et rien de suspect n'a été trouvé. |
[Prev in Thread] | Current Thread | [Next in Thread] |