[Gambas-user] [Gambas Bug Tracker] Bug #910: Segfault with Subst$(), IIf() and Null

2016-04-06 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.910&from=L21haW4- Tobias BOEGE reported a new bug. Summary --- Segfault with Subst$(), IIf() and Null Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Unknown Description --- Cod

[Gambas-user] [Gambas Bug Tracker] Bug #910: Segfault with Subst$(), IIf() and Null

2016-04-06 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.910&from=L21haW4- Tobias BOEGE added an attachment: subst-iif-segfault-0.0.1.tar.gz -- ___ Gambas-user mailing list Gambas-us

[Gambas-user] Error message in 1 line PLEASE FIX IT !

2016-04-06 Thread abbat81
Many times i got red errror messages in one line which can't be read because it hides behind resolution of screen. I think it't time to fix it -- View this message in context: http://gambas.8142.n7.nabble.com/Error-message-in-1-line-PLEASE-FIX-IT-tp55850.html Sent from the gambas-user mailing

Re: [Gambas-user] Error message in 1 line PLEASE FIX IT !

2016-04-06 Thread Benoît Minisini
Le 06/04/2016 13:56, abbat81 a écrit : > Many times i got red errror messages in one line which can't be read because > it hides behind resolution of screen. > > I think it't time to fix it > I don't understand what you mean. Do you have a screenshot? -- Benoît Minisini

[Gambas-user] [Gambas Bug Tracker] Bug #910: Segfault with Subst$(), IIf() and Null

2016-04-06 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.910&from=L21haW4- Benoît MINISINI changed the state of the bug to: Accepted. -- ___ Gambas-user mailing list Gambas-user@list

[Gambas-user] [Gambas Bug Tracker] Bug #910: Segfault with Subst$(), IIf() and Null

2016-04-06 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.910&from=L21haW4- Comment #1 by Benoît MINISINI: IIf() does not matter there. Subst$("&1", "") crashes the same way. -- ___ G

[Gambas-user] [Gambas Bug Tracker] Bug #910: Segfault with Subst$(), IIf() and Null

2016-04-06 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.910&from=L21haW4- Comment #2 by Benoît MINISINI: Fixed in revision #7726. Benoît MINISINI changed the state of the bug to: Fixed. -- ___

[Gambas-user] Lenght of a string

2016-04-06 Thread José Monteiro
len("José Antônio") = 14 I need to fill a text file and upload it to a system in order to make an invoice. The field "name" must have lenght = 115. If shorter than that you must complement it with spaces. So: for i = 1 to (115 - len(name)) name = name & Space$(1) next The result is --> "José

Re: [Gambas-user] Lenght of a string

2016-04-06 Thread Oliver Etchebarne Bejarano
You are writing utf-8 characteres, so the 'é' and the 'ô' are two bytes long ("José Antônio" is 12 chars but 14 bytes long). I think you should either remove the tildes, or use UTF-8 string functions (like String.len() instead of len()) for the calculations, and then change the encoding to some

Re: [Gambas-user] Lenght of a string

2016-04-06 Thread Oliver Etchebarne Bejarano
You are writing utf-8 characteres, so the 'é' and the 'ô' are two bytes long ("José Antônio" is 12 chars but 14 bytes long). I think you should either remove the tildes, or use UTF-8 string functions (like String.len() instead of len()) for the calculations, and then change the encoding to some

Re: [Gambas-user] Lenght of a string

2016-04-06 Thread José Monteiro
Thank you, Oliver. Using String.len(name) completely solves the problem. -- View this message in context: http://gambas.8142.n7.nabble.com/Lenght-of-a-string-tp55855p55858.html Sent from the gambas-user mailing list archive at Nabble.com. ---

Re: [Gambas-user] Lenght of a string

2016-04-06 Thread ML
José, A side note, no need also to use a FOR-NEXT to fill X spaces. You can do it in a single step: 'for i = 1 to (115 - len(name)) ' name = name & Space$(1) 'next name = String.Left$(name & Space$(115), 115) If you need the spaces at the left (for example to right-align numbers), you d

Re: [Gambas-user] Lenght of a string

2016-04-06 Thread Jose Monteiro
Thank you again.This one line solution is much more elegant. On Wednesday, April 6, 2016 11:33 AM, ML wrote: José, A side note, no need also to use a FOR-NEXT to fill X spaces. You can do it in a single step:   'for i = 1 to (115 - len(name))   '  name = name & Space$(1)   'next   nam

Re: [Gambas-user] Gambas mime type

2016-04-06 Thread T Lee Davidson
Matti, I was wrong about the pattern in "/usr/share/mimelnk/application/x-gambas3.desktop". That mimetype file is for Gambas scripts, not Gambas executables. And, I recommend ignoring my instruction to create "~/.local/share/applications/gbr3.desktop". It might be much better to just create

Re: [Gambas-user] Gambas mime type

2016-04-06 Thread Matti
Lee, I sent a mail this morning to thank you - but it never reached the list (used the wrong mail account). I followed your first fix, and everything is working as expected. So, don't care, and thanks again! Matti Am 06.04.2016 um 17:37 schrieb T Lee Davidson: > Matti, > > I was wrong about the p

[Gambas-user] [Gambas Bug Tracker] Bug #911: Offline documentation not update

2016-04-06 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.911&from=L21haW4- Zainudin AHMAD reported a new bug. Summary --- Offline documentation not update Type : Bug Priority : Low Gambas version : 3.8.90 (TRUNK) Product : Wiki Description --- - I have remo

[Gambas-user] [Gambas Bug Tracker] Bug #911: Offline documentation not update

2016-04-06 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.911&from=L21haW4- Zainudin AHMAD added an attachment: pic-1.png -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge

[Gambas-user] [Gambas Bug Tracker] Bug #911: Offline documentation not update

2016-04-06 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.911&from=L21haW4- Zainudin AHMAD added an attachment: pic-2.png -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge

[Gambas-user] [Gambas Bug Tracker] Bug #911: Offline documentation not update

2016-04-06 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.911&from=L21haW4- Zainudin AHMAD added an attachment: pic-3.png -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge

[Gambas-user] [Gambas Bug Tracker] Bug #911: Offline documentation not update

2016-04-06 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.911&from=L21haW4- Zainudin AHMAD added an attachment: pic-4.png -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge

[Gambas-user] [Gambas Bug Tracker] Bug #859: Report preview, caption label use English

2016-04-06 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.859&from=L21haW4- Comment #5 by Zainudin AHMAD: it's seems fix, change become "two-sided" thanks Zainudin AHMAD changed the state of the bug to: Fixed. --

[Gambas-user] [Gambas Bug Tracker] Bug #861: browse project using wrong file manager(not default)

2016-04-06 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.861&from=L21haW4- Comment #5 by Zainudin AHMAD: the problem is from xdg-open not from gambas, so this is invalid report. Zainudin AHMAD changed the state of the bug to: Invalid. --