[Gambas-user] Gambas-user Digest, Vol 78, Issue 57
Anderson
anderson at ...3045...
Thu Nov 22 22:03:01 CET 2012
gambas-user-request at lists.sourceforge.net wrote:
>Send Gambas-user mailing list submissions to
> gambas-user at lists.sourceforge.net
>
>To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>or, via email, send a message with subject or body 'help' to
> gambas-user-request at lists.sourceforge.net
>
>You can reach the person managing the list at
> gambas-user-owner at lists.sourceforge.net
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Gambas-user digest..."
>
>
>Today's Topics:
>
> 1. Re: How to compile with debugging information enabled -
> compiles but then a coredump (Beno?t Minisini)
> 2. Re: Issue 352 in gambas: gambas3 XMLReader component
> generates wrong output (gambas2 was working fine)
> (gambas at ...2524...)
> 3. Having an overidden class constructor (laurent bernabe)
> 4. Re: Having an overidden class constructor (Sebi)
> 5. Re: Having an overidden class constructor (laurent bernabe)
> 6. Re: gb.map (Sebastian Kulesz)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Thu, 22 Nov 2012 13:47:14 +0100
>From: Beno?t Minisini <gambas at ...1...>
>Subject: Re: [Gambas-user] How to compile with debugging information
> enabled - compiles but then a coredump
>To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
>Message-ID: <50AE1ED2.9000008 at ...1...>
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>Le 22/11/2012 12:54, richard a ?crit :
>>
>> richard at ...3044...:~/svn/gambas3/trunk$ gambas3
>> Bus error (core dumped)
>> richard at ...3044...:~/svn/gambas3/trunk$
>>
>> regards
>>
>
>Weird...
>
>Can you do that:
>
>$ gdb gbr3
>...
>(gdb) run /usr/bin/gambas3
>
>Then the program should run until the bus error, and you will get the
>gdb prompt back.
>
>(gdb) bt
>...
>
>Send me the output of the 'bt' command.
>
>--
>Beno?t Minisini
>
>
>
>------------------------------
>
>Message: 2
>Date: Thu, 22 Nov 2012 16:13:40 +0000
>From: gambas at ...2524...
>Subject: Re: [Gambas-user] Issue 352 in gambas: gambas3 XMLReader
> component generates wrong output (gambas2 was working fine)
>To: gambas-user at lists.sourceforge.net
>Message-ID:
> <4-6813199134517018827-6128099106057807147-gambas=googlecode.com at ...2524...>
>
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes
>
>
>Comment #4 on issue 352 by adrien.p... at ...626...: gambas3 XMLReader
>component generates wrong output (gambas2 was working fine)
>http://code.google.com/p/gambas/issues/detail?id=352
>
>I think I found the problem, but it comes from your code.
>Here is the strange section :
>
>If CStr(XmlR.Node.value) = "" Then
> StrHeader[XmlR.Node.depth] = XmlR.Node.name
>End If
>
>If I understood well the other parts of your code, you want to add the node
>name to your array when the reader reads the beginning of an element. But
>the node value is not empty only when reading the beginning of an element
>(that worked "by chance" with Gambas 2), so it will change the array
>values, and the output is finally not correct.
>
>One good and safe way to detect the beginning of an element is to check the
>value of the XmlReader.State property :
>
>If XmlR.State = XmlReaderNodeType.Element Then
> StrHeader[XmlR.Node.depth] = XmlR.Node.name
>End If
>
>With this code, the output is finally correct (I checked it well this
>time ;) ).
>Regards,
>Adrien
>
>
>
>
>------------------------------
>
>Message: 3
>Date: Thu, 22 Nov 2012 18:42:41 +0100
>From: laurent bernabe <laurent.bernabe at ...626...>
>Subject: [Gambas-user] Having an overidden class constructor
>To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
>Message-ID:
> <CAH8mndKWuF3ne845hroS37LZxyLGDL5S_RB8zzASvOW1Xzx_Ag at ...627...>
>Content-Type: text/plain; charset="iso-8859-1"
>
>Hello,
>
>I am coding a Vector3f class (representing a Mathematical vector), and I
>would like that instances of this class can be made from two ways :
>
> - either by calling New Vector3f() for a vector located at the origin
> (0,0,0)
> - or by supplying 3 arguments, such as with New Vector3f(1,2,-3)
>
>In my source file (Vector3f.class) : I designed the _new procedure by
>giving 3 optionnal float.
>
>But when I call (In MMain.module) New Vector3f(), I get the error
>"Unexpected ')' at line 20".
>
>So, did I misunderstand optionnal parameters ?
>
>Thank in advance
>-------------- next part --------------
>A non-text attachment was scrubbed...
>Name: ColoredCube.module
>Type: application/octet-stream
>Size: 1176 bytes
>Desc: not available
>-------------- next part --------------
>A non-text attachment was scrubbed...
>Name: MMain.module
>Type: application/octet-stream
>Size: 2748 bytes
>Desc: not available
>-------------- next part --------------
>A non-text attachment was scrubbed...
>Name: Vector3f.class
>Type: application/octet-stream
>Size: 1675 bytes
>Desc: not available
>
>------------------------------
>
>Message: 4
>Date: Thu, 22 Nov 2012 17:45:58 +0000
>From: "Sebi" <sebikul at ...626...>
>Subject: Re: [Gambas-user] Having an overidden class constructor
>To: "mailing list for gambas users"
> <gambas-user at lists.sourceforge.net>
>Message-ID:
> <97429889-1353606360-cardhu_decombobulator_blackberry.rim.net-638137124- at ...3030...>
>
>Content-Type: text/plain
>
>In fact, your code is okay, but when creating an instance of a class without arguments you need too skip the parenthesis.
>-----Original Message-----
>From: laurent bernabe <laurent.bernabe at ...626...>
>Date: Thu, 22 Nov 2012 18:42:41
>To: mailing list for gambas users<gambas-user at lists.sourceforge.net>
>Reply-To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
>Subject: [Gambas-user] Having an overidden class constructor
>
>Hello,
>
>I am coding a Vector3f class (representing a Mathematical vector), and I
>would like that instances of this class can be made from two ways :
>
> - either by calling New Vector3f() for a vector located at the origin
> (0,0,0)
> - or by supplying 3 arguments, such as with New Vector3f(1,2,-3)
>
>In my source file (Vector3f.class) : I designed the _new procedure by
>giving 3 optionnal float.
>
>But when I call (In MMain.module) New Vector3f(), I get the error
>"Unexpected ')' at line 20".
>
>So, did I misunderstand optionnal parameters ?
>
>Thank in advance
>
>
>------------------------------
>
>Message: 5
>Date: Thu, 22 Nov 2012 18:48:24 +0100
>From: laurent bernabe <laurent.bernabe at ...626...>
>Subject: Re: [Gambas-user] Having an overidden class constructor
>To: sebikul at ...626..., mailing list for gambas users
> <gambas-user at lists.sourceforge.net>
>Message-ID:
> <CAH8mndKkk9ziDghOyc5rgXA736_-TfgZ6eYi=qAbRn7twRkOkw at ...627...>
>Content-Type: text/plain; charset=ISO-8859-1
>
>Thank you very much : that's work :)
>
>2012/11/22 Sebi <sebikul at ...626...>
>
>> In fact, your code is okay, but when creating an instance of a class
>> without arguments you need too skip the parenthesis.
>> -----Original Message-----
>> From: laurent bernabe <laurent.bernabe at ...626...>
>> Date: Thu, 22 Nov 2012 18:42:41
>> To: mailing list for gambas users<gambas-user at lists.sourceforge.net>
>> Reply-To: mailing list for gambas users <gambas-user at lists.sourceforge.net
>> >
>> Subject: [Gambas-user] Having an overidden class constructor
>>
>> Hello,
>>
>> I am coding a Vector3f class (representing a Mathematical vector), and I
>> would like that instances of this class can be made from two ways :
>>
>> - either by calling New Vector3f() for a vector located at the origin
>> (0,0,0)
>> - or by supplying 3 arguments, such as with New Vector3f(1,2,-3)
>>
>> In my source file (Vector3f.class) : I designed the _new procedure by
>> giving 3 optionnal float.
>>
>> But when I call (In MMain.module) New Vector3f(), I get the error
>> "Unexpected ')' at line 20".
>>
>> So, did I misunderstand optionnal parameters ?
>>
>> Thank in advance
>>
>>
>> ------------------------------------------------------------------------------
>> Monitor your physical, virtual and cloud infrastructure from a single
>> web console. Get in-depth insight into apps, servers, databases, vmware,
>> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
>> Pricing starts from $795 for 25 servers or applications!
>> http://p.sf.net/sfu/zoho_dev2dev_nov
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>
>
>------------------------------
>
>Message: 6
>Date: Thu, 22 Nov 2012 16:00:03 -0300
>From: Sebastian Kulesz <sebikul at ...626...>
>Subject: Re: [Gambas-user] gb.map
>To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
>Message-ID:
> <CAAkQKUZy607aP9rfbOjY7h7pRcpYLEHSK6cPVQui3vEbGnJQnw at ...627...>
>Content-Type: text/plain; charset=ISO-8859-1
>
>On Thu, Nov 22, 2012 at 4:00 AM, Fabien Bodard <gambas.fr at ...626...> wrote:
>
>> Coming soon
>> Le 22 nov. 2012 01:08, "Willy Raets" <willy at ...2734...> a ?crit :
>>
>> > On Thu, 2012-11-22 at 00:27 +0100, Fabien Bodard wrote:
>> > > This is a new component : gb.map
>> > >
>> > > actually it only allow to manage tiled maps
>> > >
>> > > MapViewer1.Map.AddTile("OpenStreet", "http://{s}.
>> > > tile.openstreetmap.org/{z}/{x}/{y}.png", Null, "os")
>> > >
>> > >
>> >
>> > Wow, looking great and so easy to code.
>> > Is this a new component in trunk version?
>> >
>> > Willy
>> >
>> >
>> >
>> >
>> ------------------------------------------------------------------------------
>> > Monitor your physical, virtual and cloud infrastructure from a single
>> > web console. Get in-depth insight into apps, servers, databases, vmware,
>> > SAP, cloud infrastructure, etc. Download 30-day Free Trial.
>> > Pricing starts from $795 for 25 servers or applications!
>> > http://p.sf.net/sfu/zoho_dev2dev_nov
>> > _______________________________________________
>> > Gambas-user mailing list
>> > Gambas-user at lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>> >
>>
>> ------------------------------------------------------------------------------
>> Monitor your physical, virtual and cloud infrastructure from a single
>> web console. Get in-depth insight into apps, servers, databases, vmware,
>> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
>> Pricing starts from $795 for 25 servers or applications!
>> http://p.sf.net/sfu/zoho_dev2dev_nov
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>
>Nice!! Added to the Daily Builds PPA. It should be available in a couple of
>hours.
>
>Remember to enable the "get version from VERSION file" in the project
>proprieties.
>
>
>------------------------------
>
>------------------------------------------------------------------------------
>Monitor your physical, virtual and cloud infrastructure from a single
>web console. Get in-depth insight into apps, servers, databases, vmware,
>SAP, cloud infrastructure, etc. Download 30-day Free Trial.
>Pricing starts from $795 for 25 servers or applications!
>http://p.sf.net/sfu/zoho_dev2dev_nov
>
>------------------------------
>
>_______________________________________________
>Gambas-user mailing list
>Gambas-user at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
>End of Gambas-user Digest, Vol 78, Issue 57
>*******************************************
More information about the User
mailing list