Re: [Gambas-user] Arithmetic failure in project..Solution

2009-10-03 Thread Horst Günther Burkhardt III
On Fri, 2009-10-02 at 23:11 -0500, nando wrote: > Friend, > I have gone through your project and I ran it with these changes: > > (1) in SUB action_click...insert above this line: > result = (exposure * (guidenumber / distance) * (flashcompensation) * > (multicompensation)) > > these four lines:

Re: [Gambas-user] Arithmetic failure in project..Solution

2009-10-02 Thread nando
e sub: PUBLIC SUB input_distance_KeyPress() distance = (input_distance.Value) END -Fernando -- Original Message --- [UTF-8?]From: Horst Günther Burkhardt III To: mailing list for gambas users Sent: Fri, 02 Oct 2009 19:18:25 +1000 Subject: Re: [Gambas-user] Arithmetic failure in pr

Re: [Gambas-user] Arithmetic failure in project

2009-10-02 Thread Doriano Blengino
Horst Günther Burkhardt III ha scritto: > On Mon, 2009-09-21 at 21:20 +0200, Charlie Reinl wrote: > >> Am Dienstag, den 22.09.2009, 03:42 +1000 schrieb Horst Günther Burkhardt >> III: >> >>> Hey everybody. >>> >>> I'm building a basic flash exposure calculator with floats and extremely >>>

Re: [Gambas-user] Arithmetic failure in project

2009-10-02 Thread Horst Günther Burkhardt III
On Mon, 2009-09-21 at 21:20 +0200, Charlie Reinl wrote: > Am Dienstag, den 22.09.2009, 03:42 +1000 schrieb Horst Günther Burkhardt > III: > > Hey everybody. > > > > I'm building a basic flash exposure calculator with floats and extremely > > precise arithmetic, to benefit those of us who happen t

Re: [Gambas-user] Arithmetic failure in project

2009-09-21 Thread Jean-Yves F. Barbier
Horst Günther Burkhardt III a écrit : > I'm building a basic flash exposure calculator with floats and extremely > precise arithmetic, to benefit those of us who happen to list > photography among our hobbies ;) > > Unfortunately, I've run into several issues with the code. > > The foremost of w

Re: [Gambas-user] Arithmetic failure in project

2009-09-21 Thread Jussi Lahtinen
- Check if variable "distance" is set before calculate. Jussi On Mon, Sep 21, 2009 at 22:27, Jussi Lahtinen wrote: > I noticed some problems with your code. > > - Variable "guidenumber" is not set before calculate. > - Change  input_distance_KeyPress() --> input_distance_Change() > > > Jussi >

Re: [Gambas-user] Arithmetic failure in project

2009-09-21 Thread Jussi Lahtinen
I noticed some problems with your code. - Variable "guidenumber" is not set before calculate. - Change input_distance_KeyPress() --> input_distance_Change() Jussi On Mon, Sep 21, 2009 at 22:20, Charlie Reinl wrote: > Am Dienstag, den 22.09.2009, 03:42 +1000 schrieb Horst Günther Burkhardt >

Re: [Gambas-user] Arithmetic failure in project

2009-09-21 Thread Charlie Reinl
Am Dienstag, den 22.09.2009, 03:42 +1000 schrieb Horst Günther Burkhardt III: > Hey everybody. > > I'm building a basic flash exposure calculator with floats and extremely > precise arithmetic, to benefit those of us who happen to list > photography among our hobbies ;) > > Unfortunately, I've r

[Gambas-user] Arithmetic failure in project

2009-09-21 Thread Horst Günther Burkhardt III
Hey everybody. I'm building a basic flash exposure calculator with floats and extremely precise arithmetic, to benefit those of us who happen to list photography among our hobbies ;) Unfortunately, I've run into several issues with the code. The foremost of which: no matter the data that is pl