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" ------------------------------------------------------------------------------ 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user