From emerson@ppgia.pucpr.br Mon Jul 16 19:53:06 2001
Received: from hermes.ppgia.pucpr.br (ppgia.pucpr.br [200.192.116.20])
	by swi.psy.uva.nl (8.11.2/8.11.2) with ESMTP id f6GHr5X18510
	for <prolog@swi.psy.uva.nl>; Mon, 16 Jul 2001 19:53:05 +0200 (MET DST)
Received: from ppgia.pucpr.br (loki.ppgia.pucpr.br [10.32.2.224])
	by hermes.ppgia.pucpr.br (Postfix) with ESMTP id 9F1DD82B69
	for <prolog@swi.psy.uva.nl>; Mon, 16 Jul 2001 14:52:57 -0300 (BRT)
Sender: emerson@ppgia.pucpr.br
Message-ID: <3B532A30.E032700C@ppgia.pucpr.br>
Date: Mon, 16 Jul 2001 14:53:53 -0300
From: Emerson =?iso-8859-1?Q?Lu=EDs?= dos Santos <emerson@ppgia.pucpr.br>
Organization: PPGIA - PUCPR
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.16-13cl i686)
X-Accept-Language: pt-BR, en
MIME-Version: 1.0
To: prolog@swi.psy.uva.nl
Subject: Re: [SWIPL] arithmetic_function
References: <20010714200815Q.sota@midway.uchicago.edu> <004d01c10cd0$3f6e2b00$c901a8c0@MINERVA> <3B5209BC.2477B2EF@midway.uchicago.edu> <004c01c10db5$0aba2ea0$c901a8c0@MINERVA>
Content-Type: multipart/alternative;
 boundary="------------DF0D5A9A7B41DEBBF9243CEC"


--------------DF0D5A9A7B41DEBBF9243CEC
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

I got a similar error when using arithmetic functions:

? - X is some_function(2).
X = 8

? - 5 < some_function(2).
ERROR: Arithmetic: `some_function/1' is not a function

Could somebody tell me why?


--

£############################################################£
#¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ Emerson Luís dos Santos ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬#
#************************************************************#
#! Mestrando - Laboratório AgP/Siemens.......................#
#! Grupo de Sistemas de Informação...........................#
#! Programa de Pós-Graduação em Informática Aplicada - PPGIA #
#! Pontifícia Universidade Católica do Paraná - PUCPR........#
#! ¹ Curitiba - ² Paraná - ³ Brasil..........................#
#************************************************************#
#___________ Powered by Projeto i-Doc (Intelligent Document) #
¢############################################################¢



--------------DF0D5A9A7B41DEBBF9243CEC
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
I got a similar error when using arithmetic functions:
<p>? - X is some_function(2).
<br>X = 8
<p>? - 5 &lt; some_function(2).
<br>ERROR: Arithmetic: `some_function/1' is not a function
<p>Could somebody tell me why?
<br>&nbsp;
<pre>--&nbsp;


&pound;############################################################&pound;
#&not;&not;&not;&not;&not;&not;&not;&not;&not;&not;&not;&not;&not;&not;&not;&not;&not; Emerson Lu&iacute;s dos Santos &not;&not;&not;&not;&not;&not;&not;&not;&not;&not;&not;&not;&not;&not;&not;&not;&not;&not;#
#************************************************************#
#! Mestrando - Laborat&oacute;rio AgP/Siemens.......................#
#! Grupo de Sistemas de Informa&ccedil;&atilde;o...........................#
#! Programa de P&oacute;s-Gradua&ccedil;&atilde;o em Inform&aacute;tica Aplicada - PPGIA #
#! Pontif&iacute;cia Universidade Cat&oacute;lica do Paran&aacute; - PUCPR........#
#! &sup1; Curitiba - &sup2; Paran&aacute; - &sup3; Brasil..........................#
#************************************************************#
#___________ Powered by Projeto i-Doc (Intelligent Document) #
&cent;############################################################&cent;</pre>
&nbsp;</html>

--------------DF0D5A9A7B41DEBBF9243CEC--

