[Gambas-user] Financial program

Jean-Yves F. Barbier 12ukwn at ...626...
Tue Dec 15 16:50:11 CET 2009


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?

means: var name of type = temperature, type = integer, can't go further
its boundaries [-10, +50] ([-10.0, +50.0] would have a 1/10th degree 
precision and so on)

...

>> 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.

Ok, I drew the logical conclusion.

Regards
JY
-- 
Never try to outstubborn a cat.
		-- Lazarus Long, "Time Enough for Love"




More information about the User mailing list