Re: [Gambas-user] Financial program

2009-12-15 Thread Jean-Yves F. Barbier
Doriano Blengino a écrit : ... while only 2% of them want to use financial capabilities. So, that 2% must live with a language not very suitable for accounting. Use long integers, divide them, use format$()... is the reply from Benoit. Does someone remember the Cobol? With a simple

Re: [Gambas-user] Financial program

2009-12-15 Thread Doriano Blengino
Jean-Yves F. Barbier ha scritto: Doriano Blengino a écrit : ... while only 2% of them want to use financial capabilities. So, that 2% must live with a language not very suitable for accounting. Use long integers, divide them, use format$()... is the reply from Benoit. Does someone

Re: [Gambas-user] Financial program

2009-12-15 Thread Jean-Yves F. Barbier
Doriano Blengino a écrit : Don't burry Cobol too fast: for banking *only*, this year will be around 5 milliards Cobol written lines (progression is an avg of 14% per year). This is a proof that well designed things get a long life. Ok, cobol was invented exactly for that purpose - sadness

Re: [Gambas-user] Financial program

2009-12-15 Thread Norarg
Doriano Blengino schrieb: nando ha scritto: My contribution to this conversation is.. Always INT or LONG for money. Keep a global variable to divide by (for example 2 decimal places) 100 when printing/displaying things to humans... -OR- to take the string and insert a period for cents

Re: [Gambas-user] Financial program

2009-12-15 Thread Doriano Blengino
Jean-Yves F. Barbier ha scritto: Doriano Blengino a écrit : Don't burry Cobol too fast: for banking *only*, this year will be around 5 milliards Cobol written lines (progression is an avg of 14% per year). This is a proof that well designed things get a long life. Ok, cobol was

Re: [Gambas-user] Financial program

2009-12-15 Thread Jean-Yves F. Barbier
Doriano Blengino a écrit : ... A strongness inherited from pascal... I gave a look to many, countless hmm, I don't think Pascal can define vars as temperature[-10, +50] languages, and only few met my own requirements - strong typization, good compiler checks, overloading and, of

Re: [Gambas-user] Financial program

2009-12-15 Thread Doriano Blengino
Jean-Yves F. Barbier ha scritto: Doriano Blengino a écrit : ... A strongness inherited from pascal... I gave a look to many, countless hmm, I don't think Pascal can define vars as temperature[-10, +50] What do you mean precisely? Can you define the properties of

Re: [Gambas-user] Financial program

2009-12-15 Thread Fabien Bodard
2009/12/15 Doriano Blengino doriano.bleng...@fastwebnet.it: Jean-Yves F. Barbier ha scritto: Doriano Blengino a écrit : ... A strongness inherited from pascal... I gave a look to many, countless hmm, I don't think Pascal can define vars as temperature[-10, +50] What do you mean

Re: [Gambas-user] Financial program

2009-12-15 Thread Jussi Lahtinen
I don't like floats. They are slow, and bitchy; Dim n As Single n = 1.4 - 0.2 Print n And the result is 1.20047684, which is obviously wrong from math point of view. Correcting floating point artifact, makes floats even slower. And it is surprisingly common to be able to use integers instead.

Re: [Gambas-user] Financial program

2009-12-15 Thread Doriano Blengino
Jean-Yves F. Barbier ha scritto: Doriano Blengino a écrit : A strongness inherited from pascal... I gave a look to many, countless hmm, I don't think Pascal can define vars as temperature[-10, +50] What do you mean precisely? Can you define the properties of

Re: [Gambas-user] Financial program

2009-12-15 Thread Kari Laine
Hi, thank you for all the information. I also found a system made in Finland using PHP. It is called pupesoft and it's web-address is http://www.devlab.fi/pupesoft So now when I have time I will test all of these and see how they work. Best Regards Kari

Re: [Gambas-user] Financial program

2009-12-14 Thread Fabien Bodard
you have Laurux at http://laurux.fr/ but the code is not perfect has it was on the start a code learning programme.. but at the end it's a true accounting program... in french (Gb2) 2009/12/14 Kari Laine klai...@gmail.com: Hi, I have already done little billing program for my parents

Re: [Gambas-user] Financial program

2009-12-14 Thread Jean-Yves F. Barbier
Fabien Bodard a écrit : you have Laurux at http://laurux.fr/ but the code is not perfect has it was on the start a code learning programme.. but at the end it's a true accounting program... in french (Gb2) BTW, do you plan to have an equivalent of postgresql or python decimal(n,n) into GB3?

Re: [Gambas-user] Financial program

2009-12-14 Thread Werner
On 14/12/09 23:32, Kari Laine wrote: Hi, I have already done little billing program for my parents little firm. It was a learning exercise. It would make a big help to get little companies to move to Linux if there was a financial program that run on Linux and would be free. There comes in

Re: [Gambas-user] Financial program

2009-12-14 Thread Benoît Minisini
Fabien Bodard a écrit : you have Laurux at http://laurux.fr/ but the code is not perfect has it was on the start a code learning programme.. but at the end it's a true accounting program... in french (Gb2) BTW, do you plan to have an equivalent of postgresql or python decimal(n,n)

Re: [Gambas-user] Financial program

2009-12-14 Thread Kari Laine
Hi, There is Quasar from Linux Canada. It is very similar to MYOB. Their last GPL version is 1.4.7, I think. Do you have the source for the GPL version. I visited their site and couldn't find it. If you think you can write a decent accounting program in 3 man months you don't know what the

Re: [Gambas-user] Financial program

2009-12-14 Thread Kari Laine
Hi, thanks On Mon, Dec 14, 2009 at 6:03 PM, Fabien Bodard gambas...@gmail.com wrote: you have Laurux at http://laurux.fr/ but the code is not perfect has it was on the start a code learning programme.. but at the end it's a true accounting program... in french (Gb2) I don't read a single

Re: [Gambas-user] Financial program

2009-12-14 Thread Jean-Yves F. Barbier
Benoît Minisini a écrit : Fabien Bodard a écrit : you have Laurux at http://laurux.fr/ but the code is not perfect has it was on the start a code learning programme.. but at the end it's a true accounting program... in french (Gb2) BTW, do you plan to have an equivalent of postgresql or

Re: [Gambas-user] Financial program

2009-12-14 Thread Jean-Yves F. Barbier
Kari Laine a écrit : Hi, thanks On Mon, Dec 14, 2009 at 6:03 PM, Fabien Bodard gambas...@gmail.com wrote: you have Laurux at http://laurux.fr/ but the code is not perfect has it was on the start a code learning programme.. but at the end it's a true accounting program... in french

Re: [Gambas-user] Financial program

2009-12-14 Thread Werner
On 15/12/09 01:22, Kari Laine wrote: Hi, There is Quasar from Linux Canada. It is very similar to MYOB. Their last GPL version is 1.4.7, I think. Do you have the source for the GPL version. I visited their site and couldn't find it. If you think you can write a decent

Re: [Gambas-user] Financial program

2009-12-14 Thread girardhenri
You have the wonderfull accounting programm www.laurus.fr Here you have some : http://gambas.sourceforge.net/en/main.html enjoy :) Henri -- From: Kari Laine klai...@gmail.com Sent: Monday, December 14, 2009 4:32 PM To:

Re: [Gambas-user] Financial program

2009-12-14 Thread Tony
Kari Laine wrote: Hi, I have already done little billing program for my parents little firm. It was a learning exercise. It would make a big help to get little companies to move to Linux if there was a financial program that run on Linux and would be free. There comes in Gambas. Is there

Re: [Gambas-user] Financial program

2009-12-14 Thread Jean-Yves F. Barbier
Benoît Minisini a écrit : Benoît Minisini a écrit : Fabien Bodard a écrit : you have Laurux at http://laurux.fr/ but the code is not perfect has it was on the start a code learning programme.. but at the end it's a true accounting program... in french (Gb2) BTW, do you plan to have an

Re: [Gambas-user] Financial program

2009-12-14 Thread Benoît Minisini
Benoît Minisini a écrit : Benoît Minisini a écrit : Fabien Bodard a écrit : you have Laurux at http://laurux.fr/ but the code is not perfect has it was on the start a code learning programme.. but at the end it's a true accounting program... in french (Gb2) BTW, do you plan to

Re: [Gambas-user] Financial Program

2009-12-14 Thread Matti
1. Accounting programs are very much underestimated. That's true, indeed. I know a lot of people who thought that accounting was a minor matter, bought some program and did something not knowing what they did. They all got big problems with the tax authorities. 2. Writing an accounting program is

Re: [Gambas-user] Financial program

2009-12-14 Thread Jean-Yves F. Barbier
Benoît Minisini a écrit : ... I think you are mixing a lot of different things: - When storing a amount of money in memory, you store it in a Long integer in 1/10th of cents. For example, storing 1234,56€ will be stored as 123456 I'm gonna test that, but it implies more load of the DB

Re: [Gambas-user] Financial program

2009-12-14 Thread Benoît Minisini
Benoît Minisini a écrit : ... I think you are mixing a lot of different things: - When storing a amount of money in memory, you store it in a Long integer in 1/10th of cents. For example, storing 1234,56€ will be stored as 123456 I'm gonna test that, but it implies more load of

Re: [Gambas-user] Financial program

2009-12-14 Thread Ron_1st
On Monday 14 December 2009, Jean-Yves F. Barbier wrote: Benoît Minisini a écrit : ... I think you are mixing a lot of different things: - When storing a amount of money in memory, you store it in a Long integer in 1/10th of cents. For example, storing 1234,56€ will be stored as

Re: [Gambas-user] Financial program

2009-12-14 Thread Ron_1st
On Tuesday 15 December 2009, Benoît Minisini wrote: Again we are talking about currencies. What's the matter with telephony seconds? If you want to say that you have to store 1/1000th of cents, ro more, just choose a more precise format. With a Long datatype and using 1/100th of

Re: [Gambas-user] Financial program

2009-12-14 Thread nando
@lists.sourceforge.net Sent: Tue, 15 Dec 2009 00:38:35 +0100 Subject: Re: [Gambas-user] Financial program On Tuesday 15 December 2009, Benoît Minisini wrote: Again we are talking about currencies. What's the matter with telephony seconds? If you want to say that you have to store 1/1000th of cents, ro

Re: [Gambas-user] Financial program

2009-12-14 Thread Doriano Blengino
nando ha scritto: My contribution to this conversation is.. Always INT or LONG for money. Keep a global variable to divide by (for example 2 decimal places) 100 when printing/displaying things to humans... -OR- to take the string and insert a period for cents (North America) Make a really