[Gambas-user] Gambas binary to ELF?

2017-05-04 Thread alexchernoff
Good day all, anyone know of a way to make an ELF format file from Gambas executable? I try a "software protection" system (WIBU KEY), to protect a Gambas project from unwanted copying, but it can only protect ELF binaries and doesn't recognize a Gambas executable. Cheers! -- View this mess

[Gambas-user] Math Operation

2017-05-04 Thread cheikh diabang
hello. i have write this code below on gambas 3.9.2 and when i run that, he indique syntaxe error Function calcul_coefficients(x As Integer, y As Integer, degre As Integer) As Float 'Dim ak As Float Dim a As Float Dim b As Float Dim c As Float Dim nbr_coef As Integer Dim k As Intege

Re: [Gambas-user] Gambas binary to ELF?

2017-05-04 Thread Tobias Boege
On Thu, 04 May 2017, alexchernoff wrote: > Good day all, > > anyone know of a way to make an ELF format file from Gambas executable? > > I try a "software protection" system (WIBU KEY), to protect a Gambas project > from unwanted copying, but it can only protect ELF binaries and doesn't > recogni

Re: [Gambas-user] Math Operation

2017-05-04 Thread Tobias Boege
On Thu, 04 May 2017, cheikh diabang wrote: > hello. i have write this code below on gambas 3.9.2 and when i run that, he > indique syntaxe error > > > Function calcul_coefficients(x As Integer, y As Integer, degre As Integer) As > Float > 'Dim ak As Float > Dim a As Float > Dim b As Float

Re: [Gambas-user] Math Operation

2017-05-04 Thread cheikh diabang
Thank Tobias its working well. But Return the tree values have problem whit mark"," The last change is below Function calcul_coefficients(x As Integer, y As Integer, degre As Integer) As Float 'Dim ak As Float Dim a As Float Dim b As Float Dim c As Float Dim nbr_coef As Integer Dim

Re: [Gambas-user] Math Operation

2017-05-04 Thread Julio Sanchez
cheikh diabang: In addition if you are going to return several float values, you should put float[]... Function calcul_coefficients(x As Integer, y As Integer, degre As Integer) As Float[] Dim ArrayABC as new float[] . ArrayABC.add(A) ArrayABC.add(B) ArrayABC.add(C) Return ArrayAB

Re: [Gambas-user] Math Operation

2017-05-04 Thread cheikh diabang
Thank you very much Julio Sanchez 😊. Its working fine De : Julio Sanchez Envoyé : jeudi 4 mai 2017 10:30 À : mailing list for gambas users Objet : Re: [Gambas-user] Math Operation cheikh diabang: In addition if you are going to return several float values, you

Re: [Gambas-user] Math Operation

2017-05-04 Thread cheikh diabang
Hi ! i wanna know how recover return value of function in my case. I do that as below, but he said object expected calcul_coefficients(j, iy_v_c_w, 2) coeff_v_c_w_0 = calcul_coefficients[2] coeff_v_c_w_1 = calcul_coefficients[1]

Re: [Gambas-user] Math Operation

2017-05-04 Thread Jussi Lahtinen
Declare the function as: Function calcul_coefficients(x As Integer, y As Integer, degre As Integer) As Float[] Then return the answer as (this is for convenience as copy returns new object instance): Return [a, b, c].Copy() Jussi On Thu, May 4, 2017 at 5:41 PM, cheikh diabang wrote: > Hi

Re: [Gambas-user] Math Operation

2017-05-04 Thread cheikh diabang
I think the copy is not necessary. I want just access in one element on return array. Thank for your help De : Jussi Lahtinen Envoyé : jeudi 4 mai 2017 15:12 À : mailing list for gambas users Objet : Re: [Gambas-user] Math Operation Declare the function as: Fu

[Gambas-user] transparency on rotated image

2017-05-04 Thread Leon Davis
Using Gambas v3.9.2 and GTK+3 After I rotate an image "Image.Rotate(0.03)" I get a background I can't get rid of. Bug or Feature? Thank you for any assistance. Leon -- Check out the vibrant tech community on one of the wo

[Gambas-user] Close If Clicked Outside Form

2017-05-04 Thread herberth guzman
Hi Close If Clicked Outside Form Is there any way to close a form if it is clicked outside the main form? For example, just as applets on the network or audio volume or KDE menu. Thanks Herberth Guzman -- Check out th

Re: [Gambas-user] Close If Clicked Outside Form

2017-05-04 Thread Tobias Boege
On Thu, 04 May 2017, herberth guzman wrote: > Hi > > Close If Clicked Outside Form > > Is there any way to close a form if it is clicked outside the main form? > > For example, just as applets on the network or audio volume or KDE menu. > Try the Deactivate event. The documentation doesn't rea

Re: [Gambas-user] Math Operation

2017-05-04 Thread Fabien Bodard
yes the copy function is not necessary in this case as [a,b,c] return a new instance on each call 2017-05-04 17:21 GMT+02:00 cheikh diabang : > I think the copy is not necessary. I want just access in one element on > return array. Thank for your help > > > > De :