Re: [Gambas-user] Gambas in a tablet. Is it possible?

2017-07-12 Thread Fabien Bodard
Le 11 juil. 2017 01:39, "PICCORO McKAY Lenz" a écrit : 2017-07-10 17:42 GMT-04:00 Rolf-Werner Eilert : > Basically, someone would have to do what Benoit once did: sacrifice "some" > time and write a library that links Gambas functions to Android GUI. those that have the time does not have the mon

Re: [Gambas-user] Gambas in a tablet. Is it possible?

2017-07-12 Thread PICCORO McKAY Lenz
2017-07-12 11:02 GMT-04:00 Fabien Bodard : > Not really. We just need x functions for the desktop lib. All can be done > from cocoa to w32ctl passing by android toolkit. > Just matter of knowledge and time as Gambas is just a compiler with term > output on the basis depending only on glibc. > umm

Re: [Gambas-user] Gambas in a tablet. Is it possible?

2017-07-12 Thread Benoît Minisini via Gambas-user
Le 12/07/2017 à 17:26, PICCORO McKAY Lenz a écrit : 2017-07-12 11:02 GMT-04:00 Fabien Bodard : Not really. We just need x functions for the desktop lib. All can be done from cocoa to w32ctl passing by android toolkit. Just matter of knowledge and time as Gambas is just a compiler with term outp

Re: [Gambas-user] Gambas in a tablet. Is it possible?

2017-07-12 Thread PICCORO McKAY Lenz
2017-07-12 11:41 GMT-04:00 Benoît Minisini : > The first step is to compile Gambas on a tablet, except the GUI components. > as i see, compiling a app "for" androit its not same as "to" androit.. as happened also in Mac, we need the runtime of gcc/glibc equivalent if the compilation are native..

[Gambas-user] Best ways to format float values

2017-07-12 Thread alexchernoff
Peace to all, this might a bit silly but what is the best way to format float values like 26.66016 into having two digits AND/OR with rounding them? e.g. 26.66016 becomes 26.66 shortened 26.66016 becomes 26.67 rounded cheers! -- View this message in context: http

Re: [Gambas-user] Gambas in a tablet. Is it possible?

2017-07-12 Thread alexchernoff
There is a software called NSBasic that can build Android apps and is very similar to VB/Gambas. Not free but works fine. -- View this message in context: http://gambas.8142.n7.nabble.com/Re-Gambas-in-a-tablet-Is-it-possible-tp59715p59734.html Sent from the gambas-user mailing list archive

Re: [Gambas-user] Best ways to format float values

2017-07-12 Thread bb
I always round i.e. Print Round(26.66016,-2) --> which is 26.66 by the way, not 26.67! (I have no idea how you got that.) b On 13/07/17 15:09, alexchernoff wrote: Peace to all, this might a bit silly but what is the best way to format float values like 26.66016 into having t

Re: [Gambas-user] Best ways to format float values

2017-07-12 Thread Fernando Cabral
I can say this is the best way to do what you want, but I use the following: * Print Int(100.55 * 100) / 100.00 Print Round(100.55, -2)* The first operation truncates the number to 100.55 (no rounding takes effect). The second operation rounds the number to at most two digits after the

[Gambas-user] About gambas, the word

2017-07-12 Thread Fernando Cabral
*Warning: this is only a linguistic curiosity with no relation to Gambas, the language.* Entirely by chance, I came across the following definition and etymology for gambas, the word: *From Petit Robert 2007: gambasgambas [gɑ̃bas] nom féminin plurielétym. répandu v. 1960; catalan gamba,