[Gambas-user] Issue 628 in gambas: Creation Ubuntu/Debian package wrong dependencies

2015-07-14 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 628 by flynetin...@gmail.com: Creation Ubuntu/Debian package wrong dependencies https://code.google.com/p/gambas/issues/detail?id=628 when I create my component and then

Re: [Gambas-user] why this code not working

2015-07-14 Thread T Lee Davidson
On 07/14/2015 12:31 PM, tsukuba GIMP user wrote: Public Sub PictureBox1_MouseDown() Dim dicer As Integer Dim dbclick As Integer dicer = Int(Rnd(1, 5)) dbclick = +1 ---Problem code If dbclick = 8 Then --- i click 8 time but it's don't run this

[Gambas-user] why this code not working

2015-07-14 Thread tsukuba GIMP user
Public Sub PictureBox1_MouseDown() Dim dicer As Integer Dim dbclick As Integer dicer = Int(Rnd(1, 5)) dbclick = +1 ---Problem code If dbclick = 8 Then --- i click 8 time but it's don't run this code just like my program forget this code Form3.Text =

Re: [Gambas-user] why this code not working

2015-07-14 Thread Caveat
Where to begin, before we even consider scope, just try some really simple code first to get used to the syntax... Public Sub Form_DblClick() Dim myInt As Integer myInt = 5 'Inc myInt 'Inc myInt 'Inc myInt 'myInt = +1 'myInt = +10 'myInt += 1 'myInt += 10 Print

Re: [Gambas-user] : why this code not working

2015-07-14 Thread Matti
Now, you declare $dbclick, but you don't set a value to it. So, every time PictureBox1_MouseDown() starts, $dbclick gets the value 1. Try: Private $dbclick as Integer = 0 Am 14.07.2015 um 21:01 schrieb tsukuba GIMP user: here is ' Gambas class file ' Private $dbclick As Integer

Re: [Gambas-user] ?????? : why this code not working

2015-07-14 Thread Jesus
Tsukuba With my respect to you, I think you need to understand the basics of programming and familiarize yourself with the terminology. I suggest reading a book or two about programming, perhaps visiting an online manual [1] and [2] if you understand enough English, and once done, come back with

[Gambas-user] ?????? : why this code not working

2015-07-14 Thread tsukuba GIMP user
No i make a mistay Mistakes not $dbclick += 1 still not working is Now, you declare $dbclick, but you don't set a value to it. So, every time PictureBox1_MouseDown() starts, $dbclick gets the value 1. Try: Private $dbclick as Integer = 0 Am 14.07.2015 um 21:01 schrieb tsukuba GIMP user: here

Re: [Gambas-user] : : why this code not working

2015-07-14 Thread T Lee Davidson
On 07/14/2015 03:14 PM, tsukuba GIMP user wrote: No i make a mistay Mistakes not $dbclick += 1 still not working is I think it may actually be working. You just cannot see that it is, because the code after the just_keep_moveing label is resetting the value of TextBox1.text. After performing

Re: [Gambas-user] Issue 628 in gambas: Creation Ubuntu/Debian package wrong dependencies

2015-07-14 Thread gambas
Updates: Status: Fixed Comment #2 on issue 628 by benoit.m...@gmail.com: Creation Ubuntu/Debian package wrong dependencies https://code.google.com/p/gambas/issues/detail?id=628 Fixed in revision #7186: now the packager displays an explanatory warning message if the project name is

[Gambas-user] ?????? why this code not working

2015-07-14 Thread tsukuba GIMP user
i added the private var and in print number is working but when number is 8 it's still forget the if $dbclick = 8 then '$ is private var You must define dbclick as a private variable. In your case the variable is local and is initialized and destroyed in the procedure Le 14 juil. 2015

Re: [Gambas-user] : why this code not working

2015-07-14 Thread T Lee Davidson
On 07/14/2015 02:37 PM, tsukuba GIMP user wrote: i added the private var and in print number is working but when number is 8 it's still forget the if $dbclick = 8 then '$ is private var What is the content of your function's code now? Lee __

Re: [Gambas-user] : why this code not working

2015-07-14 Thread tsukuba GIMP user
here is ' Gambas class file ' Private $dbclick As Integer (Unrelated content and Comment symbol because i build a package So I shielded them) ' Public Sub PictureBox1_MouseDown() ' Dim dicer As Integer ' dicer = Int(Rnd(1, 5)) ' $dbclick += 1 -- i try inc $dbclick still

Re: [Gambas-user] : why this code not working

2015-07-14 Thread tsukuba GIMP user
here is ' Gambas class file ' Private $dbclick As Integer (Unrelated content and Comment symbol because i build a package So I shielded them) ' Public Sub PictureBox1_MouseDown() ' Dim dicer As Integer ' dicer = Int(Rnd(1, 5)) ' $dbclick += 1 -- i try inc $dbclick still

Re: [Gambas-user] why this code not working

2015-07-14 Thread tsukuba GIMP user
As you said I changed into ??dbclick + = 1??or ??inc dbclick?? but this time i add print dbclick(test only) then... print alwasy's 1 when i click picturebox Public Sub PictureBox1_MouseDown() Dim dicer As Integer Dim dbclick As Integer dicer = Int(Rnd(1, 5)) dbclick = +1

Re: [Gambas-user] why this code not working

2015-07-14 Thread Fabien Bodard
You must define dbclick as a private variable. In your case the variable is local and is initialized and destroyed in the procedure Le 14 juil. 2015 19:31, tsukuba GIMP user tsukubagradua...@foxmail.com a écrit : As you said I changed into “dbclick + = 1”or “inc dbclick” but this time i add

Re: [Gambas-user] Issue 628 in gambas: Creation Ubuntu/Debian package wrong dependencies

2015-07-14 Thread gambas
Updates: Status: Accepted Labels: -Version Version-3.7.0 Comment #1 on issue 628 by benoit.m...@gmail.com: Creation Ubuntu/Debian package wrong dependencies https://code.google.com/p/gambas/issues/detail?id=628 The problem is the packager that assumes that a component project