comp.lang.ada
 help / color / mirror / Atom feed
From: JP Thornley <jpt@diphi.demon.co.uk>
Subject: Re: SPARK and Interfaces.C
Date: Tue, 24 May 2005 11:36:51 +0100
Date: 2005-05-24T11:36:51+01:00	[thread overview]
Message-ID: <IecijTADPwkCJwq4@diphi.demon.co.uk> (raw)
In-Reply-To: 1116925072.146066.235050@g49g2000cwa.googlegroups.com

In article <1116925072.146066.235050@g49g2000cwa.googlegroups.com>, 
ich_bin_elvis@hotmail.com writes
>      --# return Ada.Numerics.Elementary_Functions.Sqrt(((X2 - X1)
>**2),((Y2-Y1)**2));
>
>If i understand the error right it only wan't to parameters an now i
>have to many paranteces, but how do I make an temporary value I can use
>insead of the expressions I have.
Well, you've put two parameters in for a function that usually only has 
one.

Perhaps that comma should be a '+'?

Cheers

Phil
-- 
JP Thornley



  reply	other threads:[~2005-05-24 10:36 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-13 17:34 SPARK and Interfaces.C ich_bin_elvis
2005-05-13 19:40 ` JP Thornley
2005-05-14 12:15   ` Rod Chapman
2005-05-14 13:31     ` Martin Dowie
2005-05-14 15:41       ` Rod Chapman
2005-05-17 10:55     ` ich_bin_elvis
2005-05-17 14:40       ` Rod Chapman
2005-05-19  8:12         ` ich_bin_elvis
2005-05-19  8:46         ` ich_bin_elvis
2005-05-19  9:01           ` Rod Chapman
2005-05-19 10:25             ` ich_bin_elvis
2005-05-21 22:52               ` JP Thornley
2005-05-23  9:48                 ` ich_bin_elvis
2005-05-23 13:30                   ` JP Thornley
2005-05-23 15:10                     ` JP Thornley
2005-05-24  8:57                       ` ich_bin_elvis
2005-05-24 10:36                         ` JP Thornley [this message]
2005-05-24 20:34                           ` ich_bin_elvis
2005-05-25  7:54                             ` JP Thornley
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox