[Gambas-user] Financial program

Fabien Bodard gambas.fr at ...626...
Tue Dec 15 14:30:50 CET 2009


2009/12/15 Doriano Blengino <doriano.blengino at ...1909...>:
> 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 such variable?
>> I'm far from a specialist, as a matter of fact I didn't used OO before
>> (only C and ASM a looong time ago) so the only way I see to make a mix
>> is to call external subroutines through SHELL or EXEC; but if you know
>> other ways, I'm in.
>>
>> I don't wanna end up with terrible hacks, nor spend more time to develop
>> something that already exists in another language: I need it to run the way
>> I want in an easy (and maintenable) way - without headaches...
>>
> *That* would be slow, very slooow.
>
> There are "external" declarations in gambas (I was admired when I saw
> them the first time). That should be the way to go. I used them to
> interface the LDAP library, and it worked. But it was a pain to manage
> pointers and memory in gambas, and probably there are several quirks in
> that work. If the python lib is written in C++ instead, then things get
> worse, so an EXEC is simpler for sure (but slow). I insist on the
> slowness because you insisted on that in an earlier mail. If you want to
> process thousands rows from a database, then the exec is guaranteed to
> be out of discussion.

And on the thouthen of accounting program code i've readen the
majority use long or integer to store values.
 so they use integer to compute and in the database they store the
printable value as string...

Not many are using float, and those are beginner's ones... like mine :/ lol

>
> Regards,
> Doriano
>
> ------------------------------------------------------------------------------
> Return on Information:
> Google Enterprise Search pays you back
> Get the facts.
> http://p.sf.net/sfu/google-dev2dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list