Re: [Gambas-user] Error in Left$ and Mid$ functions to the gb.ncurses component

2012-05-25 Thread tobi
On Sun, 20 May 2012, tobi wrote: On Sun, 20 May 2012, Benoît Minisini wrote: Le 20/05/2012 16:26, William Cabrera a écrit : Hi, I have been testing the component ncurses and so far everything well, but the functions mentioned in the title simply do not work. Below is a sample code:

[Gambas-user] Error in Left$ and Mid$ functions to the gb.ncurses component

2012-05-20 Thread William Cabrera
Hi, I have been testing the component ncurses and so far everything well, but the functions mentioned in the title simply do not work. Below is a sample code: #!/usr/bin/env gbs3 USE gb.ncurses dim hwin As Window dim cadena, cad as string cadena = Hola Mundo cad = left(cadena) hwin = New

Re: [Gambas-user] Error in Left$ and Mid$ functions to the gb.ncurses component

2012-05-20 Thread tobi
On Sun, 20 May 2012, Benoît Minisini wrote: Le 20/05/2012 16:26, William Cabrera a écrit : Hi, I have been testing the component ncurses and so far everything well, but the functions mentioned in the title simply do not work. Below is a sample code: #!/usr/bin/env gbs3 USE

Re: [Gambas-user] Error in Left$ and Mid$ functions to the gb.ncurses component

2012-05-20 Thread Benoît Minisini
Le 20/05/2012 18:43, tobi a écrit : So my question bounces to Benoît: It's said in the docs that the three string functions used above are optimised so that they don't duplicate strings. Does that mean or is it a general fact that I cannot rely on the STRING() macro to extract a