[Gambas-user] Possible bug
Charlie
charlie at ...2793...
Wed May 15 01:17:30 CEST 2013
Hi Benoit,
It may, or may not, be good syntax but press F5 and Gambas crashes. You can not compile it because Gambas crashes.
The purpose of the code was to change "dir" string into a form tha BASH would accept from Shell command if there are spaces in the "dir" string.
I am not an expert in any of this. I am just tring to help by pointing this issue out. If it is a syntax error Gambas should detect this and not crash.
Regards,
Charlie.
Sent from Charlie's Samsung tablet"Benoît Minisini [via Gambas]" <ml-node+s8142n41946h68 at ...3046...> wrote:Le 14/05/2013 18:09, Charlie a écrit :
> Hi all,
>
> You need one *Button* and one *DirChooser* on your form
> I have reduced code to the following to emulate this bug I am getting: -
> '*********************************************************
> Public Sub _new()
> End
>
> Public Sub Form_Open()
> End
>
>
> Public Sub Button1_Click()
>
> Dim SDir As String
> Sdir = DirChooser1.SelectedPath
> SDir = Replace(SDir, " ", "\ ")
This line is not syntactically correct ("\ "). Please provide a project
or at least code that compiles!
Regards,
--
Benoît Minisini
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Gambas-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user
If you reply to this email, your message will be added to the discussion below:
http://gambas.8142.n7.nabble.com/Possible-bug-tp41943p41946.html
To unsubscribe from Possible bug, click here.
NAML
--
View this message in context: http://gambas.8142.n7.nabble.com/Possible-bug-tp41943p41948.html
Sent from the gambas-user mailing list archive at Nabble.com.
More information about the User
mailing list