Re: [Gambas-user] non printable char "Ⱶ" how to remove from string!!!!!

2015-12-28 Thread PICCORO McKAY Lenz
i send you this file with various output, but the special char are not
printable, only "gtk critical" warning are out!

the out only are in the console of the gambas, later will' run the
proyect and send a complete out

attached are the file and send a CC to you fabien!

2015-12-23 18:35 GMT-04:30, Fabien Bodard :
> Can you write the output to a file and send it to me ?
>
>

and Ru Vuott  thanks for suggestion i'll try later


salidas
Description: Binary data
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] POSSIBLE! bug in while loop

2015-12-28 Thread Robert Boykin
Test Program code is:
' Gambas class file

' Static Private iexit As Integer = 0
Public Sub _new()
End

Public Sub Form_Open()
 GlobalVar.iexit = 0
End

Public Sub GObtn_Click()
 Dim n As Integer
 n = 0
 While n < 10 
 Print n
 n = n + 1
 If GlobalVar.iexit > 0 Then Break
 Wend
End
Public Sub exitBtn_Click()
 GlobalVar.iexit = 10
End

This is gambas3 on linux mint 17.3 using gb.qt4
running on a generic desktop PC

The simple form has two buttons, 
one to start a while loop
that prints numbers to the console, and
one to set a global variable to a value which
should cause a break in the while loop. 

The global variable is defined in the class GlobalVar 
' Gambas class file

Static Public iexit As Integer = 0

The program begins printing numbers upon clicking the Gobtn
but will not stop printing when the exitBtn is cliked.

It appears that the exitBtn _Click() event is not recognized
 during execution of the while loop.

I am just learning gambas on my own using
 what examples and tutorials I can find on the internet 
and believe I may have left something out.

Robert S. Boykin
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] POSSIBLE! bug in while loop

2015-12-28 Thread adamn...@gmail.com
Add a Wait instruction after n=n+1 to invoke the Event Loop. (Research the help 
on this)
Also see Inc.

hth
b
On Tue, 29 Dec 2015 02:55:41 + (UTC)
Robert Boykin  wrote:

> Test Program code is:
> ' Gambas class file
> 
> ' Static Private iexit As Integer = 0
> Public Sub _new()
> End
> 
> Public Sub Form_Open()
>  GlobalVar.iexit = 0
> End
> 
> Public Sub GObtn_Click()
>  Dim n As Integer
>  n = 0
>  While n < 10 
>  Print n
>  n = n + 1
>  If GlobalVar.iexit > 0 Then Break
>  Wend
> End
> Public Sub exitBtn_Click()
>  GlobalVar.iexit = 10
> End
> 
> This is gambas3 on linux mint 17.3 using gb.qt4
> running on a generic desktop PC
> 
> The simple form has two buttons, 
> one to start a while loop
> that prints numbers to the console, and
> one to set a global variable to a value which
> should cause a break in the while loop. 
> 
> The global variable is defined in the class GlobalVar 
> ' Gambas class file
> 
> Static Public iexit As Integer = 0
> 
> The program begins printing numbers upon clicking the Gobtn
> but will not stop printing when the exitBtn is cliked.
> 
> It appears that the exitBtn _Click() event is not recognized
>  during execution of the while loop.
> 
> I am just learning gambas on my own using
>  what examples and tutorials I can find on the internet 
> and believe I may have left something out.
> 
> Robert S. Boykin
> --
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


-- 
B Bruen 

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user