Re: [Gambas-user] gb3: "Mathematic error"

2012-01-18 Thread Kevin Fishburne
On 01/17/2012 12:38 PM, Fabien Bodard wrote: > Le 17 janvier 2012 16:22, Benoît Minisini > a écrit : >> Le 17/01/2012 11:35, Kevin Fishburne a écrit : >>> On 01/17/2012 05:18 AM, Kevin Fishburne wrote: On 01/16/2012 02:33 AM, Benoît Minisini wrote: > Le 16/01/2012 08:05, Kevin Fishburne

Re: [Gambas-user] gb3: "Mathematic error"

2012-01-17 Thread Fabien Bodard
Le 17 janvier 2012 16:22, Benoît Minisini a écrit : > Le 17/01/2012 11:35, Kevin Fishburne a écrit : >> On 01/17/2012 05:18 AM, Kevin Fishburne wrote: >>> On 01/16/2012 02:33 AM, Benoît Minisini wrote: Le 16/01/2012 08:05, Kevin Fishburne a écrit : > On 01/16/2012 01:43 AM, Kevin Fishburn

Re: [Gambas-user] gb3: "Mathematic error"

2012-01-17 Thread Benoît Minisini
Le 17/01/2012 11:35, Kevin Fishburne a écrit : > On 01/17/2012 05:18 AM, Kevin Fishburne wrote: >> On 01/16/2012 02:33 AM, Benoît Minisini wrote: >>> Le 16/01/2012 08:05, Kevin Fishburne a écrit : On 01/16/2012 01:43 AM, Kevin Fishburne wrote: > Why would I get the runtime error "Mathemati

Re: [Gambas-user] gb3: "Mathematic error"

2012-01-17 Thread Kevin Fishburne
On 01/17/2012 05:18 AM, Kevin Fishburne wrote: > On 01/16/2012 02:33 AM, Benoît Minisini wrote: >> Le 16/01/2012 08:05, Kevin Fishburne a écrit : >>> On 01/16/2012 01:43 AM, Kevin Fishburne wrote: Why would I get the runtime error "Mathematic error" in this function: Public Function

Re: [Gambas-user] gb3: "Mathematic error"

2012-01-17 Thread Kevin Fishburne
On 01/16/2012 02:33 AM, Benoît Minisini wrote: > Le 16/01/2012 08:05, Kevin Fishburne a écrit : >> On 01/16/2012 01:43 AM, Kevin Fishburne wrote: >>> Why would I get the runtime error "Mathematic error" in this function: >>> >>> Public Function Distance(x1 As Single, y1 As Single, x2 As Single, y2

Re: [Gambas-user] gb3: "Mathematic error"

2012-01-15 Thread Benoît Minisini
Le 16/01/2012 08:05, Kevin Fishburne a écrit : > On 01/16/2012 01:43 AM, Kevin Fishburne wrote: >> Why would I get the runtime error "Mathematic error" in this function: >> >> Public Function Distance(x1 As Single, y1 As Single, x2 As Single, y2 As >> Single) As Single >> Return Abs(Sqr((x2 -

Re: [Gambas-user] gb3: "Mathematic error"

2012-01-15 Thread Kevin Fishburne
On 01/16/2012 01:43 AM, Kevin Fishburne wrote: > Why would I get the runtime error "Mathematic error" in this function: > > Public Function Distance(x1 As Single, y1 As Single, x2 As Single, y2 As > Single) As Single > Return Abs(Sqr((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1))) > End > > The

[Gambas-user] gb3: "Mathematic error"

2012-01-15 Thread Kevin Fishburne
Why would I get the runtime error "Mathematic error" in this function: Public Function Distance(x1 As Single, y1 As Single, x2 As Single, y2 As Single) As Single Return Abs(Sqr((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1))) End The values of the variables are: ?x2 & " " & x1 & " " & x2 & "