Following code is my program, its has the "ilegal instruction" bug. In the main class PUBLIC SUB Main() DIM fd AS FlowData DIM at AS ShiXing at = NEW ShiXing(fd) END
In the FlowData class PUBLIC CONST ZhengYin AS Integer = 0 PUBLIC CONST BiJian AS Integer = 1 PUBLIC CONST JieCai AS Integer = 2 PUBLIC CONST ShiShen AS Integer = 3 PUBLIC CONST ShangGuan AS Integer = 4 PUBLIC CONST PianCai AS Integer = 5 PUBLIC CONST ZhengCai AS Integer = 6 PUBLIC CONST QiSha AS Integer = 7 PUBLIC CONST ZhengGuan AS Integer = 8 PUBLIC CONST PianYin AS Integer = 9 In the ShiXing Class ' Gambas class file PRIVATE fd AS FlowData STATIC tk0 AS Integer[] = [fd.ShangGuan, fd.JieCai, fd.BiJian, fd.PianCai, fd.PianYin, fd.ZhengYin, fd.QiSha, fd.ZhengGuan, fd.JieCai, fd.ZhengYin] STATIC tk1 AS Integer[] = [fd.BiJian, fd.JieCai, fd.ShiShen, fd.ShangGuan, fd.PianCai, fd.ZhengCai, fd.QiSha, fd.ZhengGuan, fd.PianYin, fd.ZhengYin] STATIC tk2 AS Integer[] = [fd.ShiShen, fd.ShangGuan, fd.PianCai, fd.ZhengCai, fd.PianYin, fd.ZhengYin, fd.QiSha, fd.ZhengGuan, fd.BiJian, fd.JieCai] STATIC tk3 AS Integer[] = [fd.PianCai, fd.QiSha, fd.PianYin, fd.ZhengYin, fd.ShangGuan, fd.ZhengCai, fd.JieCai, fd.BiJian, fd.ShiShen, fd.ZhengGuan] STATIC tk4 AS Integer[] = [fd.ShangGuan, fd.JieCai, fd.BiJian, fd.PianCai, fd.PianYin, fd.ZhengYin, fd.QiSha, fd.ZhengGuan, fd.JieCai, fd.ZhengYin] STATIC tk5 AS Integer[] = [fd.BiJian, fd.JieCai, fd.ShiShen, fd.ShangGuan, fd.PianCai, fd.ZhengCai, fd.QiSha, fd.ZhengGuan, fd.PianYin, fd.ZhengYin] STATIC tk6 AS Integer[] = [fd.ShiShen, fd.ShangGuan, fd.PianCai, fd.ZhengCai, fd.PianYin, fd.ZhengYin, fd.QiSha, fd.ZhengGuan, fd.BiJian, fd.JieCai] STATIC tk7 AS Integer[] = [fd.PianCai, fd.QiSha, fd.PianYin, fd.ZhengYin, fd.ShangGuan, fd.ZhengCai, fd.JieCai, fd.BiJian, fd.ShiShen, fd.ZhengGuan] STATIC tk8 AS integer[] = [fd.ShangGuan, fd.JieCai, fd.BiJian, fd.PianCai, fd.PianYin, fd.ZhengYin, fd.QiSha, fd.ZhengGuan, fd.JieCai, fd.ZhengYin] STATIC tk9 AS Integer[] = [fd.BiJian, fd.JieCai, fd.ShiShen, fd.ShangGuan, fd.PianCai, fd.ZhengCai, fd.QiSha, fd.ZhengGuan, fd.PianYin, fd.ZhengYin] PUBLIC SUB _new(fd1 AS FlowData) fd = fd1 END And I don't need to write it like this, I' ve a perfect solution to write. Thank You --- 09/8/8 (六),[email protected] <[email protected]> 寫道: 寄件者: [email protected] <[email protected]> 主旨: Gambas-user Digest, Vol 39, Issue 22 收件者: [email protected] 日期: 2009年8月8日,六,下午3:37 Send Gambas-user mailing list submissions to [email protected] 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 [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of Gambas-user digest..." Today's Topics: 1. Re: Gambas sticker graphic? (M0E Lnx) 2. Why I meet "illegal instruction" ? (Swee Kwang Tan) 3. Re: compiling gambas2 on opensuse 11.1 x64 (kobolds) 4. Re: compiling gambas2 on opensuse 11.1 x64 (Beno?t Minisini) 5. Re: Why I meet "illegal instruction" ? (Beno?t Minisini) 6. Re: Gambas in Science ? (Carlos Prieto L?pez) ---------------------------------------------------------------------- Message: 1 Date: Fri, 7 Aug 2009 20:00:51 -0500 From: M0E Lnx <[email protected]> Subject: Re: [Gambas-user] Gambas sticker graphic? To: mailing list for gambas users <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Thanks guys. That works. ------------------------------ Message: 2 Date: Fri, 7 Aug 2009 19:33:14 -0700 (PDT) From: Swee Kwang Tan <[email protected]> Subject: [Gambas-user] Why I meet "illegal instruction" ? To: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset=utf-8 My Dear, I'm a fortune teller, writing a predict fortune program. dim gan as TienGan???? 'TienGan is a Class dim dx as ShiXing ? ? ? 'ShiXing is a Class dim fd as FlowData ? ? 'FlowData is a Class, it have defined many constant. gan = new TienGan(3, fd) dx = new ShiXing(gan.GetValue(), fd) why " dx = new ..." this line wrong ? gambas said "illegal instruction" . Thank you --- 09/7/28 (?)[email protected] <[email protected]> ??? ???: [email protected] <[email protected]> ??: Gambas-user Digest, Vol 38, Issue 50 ???: [email protected] ??: 2009?7?28?,?,??11:40 Send Gambas-user mailing list submissions to ??? [email protected] 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 ??? [email protected] You can reach the person managing the list at ??? [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of Gambas-user digest..." Today's Topics: ???1. Re: Background color for Textbox (richard terry) ???2. Procedure new() (craf) ???3. Re: Background color for Textbox (craf) ???4. Re: Background color for Textbox (Beno?t Minisini) ???5. DrawingArea (nic) ???6. Re: Background color for Textbox (Beno?t Minisini) ???7. Re: DrawingArea (Beno?t Minisini) ???8. Re: Background color for Textbox (craf) ???9. Re: DrawingArea (nic) ? 10. Re: Background color for Textbox (Beno?t Minisini) ---------------------------------------------------------------------- Message: 1 Date: Wed, 29 Jul 2009 07:29:25 +1000 From: richard terry <[email protected]> Subject: Re: [Gambas-user] Background color for Textbox To: mailing list for gambas users <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain;? charset="utf-8" On Wed, 29 Jul 2009 05:41:11 am craf wrote: > Hello. > > When selecting a background color for a textbox only allows me to select > any of them. For example to select the color blue shown by the arrow, > shows me a completely different color. Are there certain colors in > Gambas?. Is this normal?. > > > Select a color for the background 0080ff text box > > > But this shows me another pink > > > Regards Any color including those of? your imagination. HOwever I agree that setting it doesn't always work properly. If you used the pop-up dialog box? In my version if you type in the hex, nothing changes automatically. Also if you click on the color gradient anywhere, the square containing the colour dosn't change to indicate - you need to move the brightless slighter at the right. I've raised these things with Benoit before. Regards Richard ------------------------------ Message: 2 Date: Tue, 28 Jul 2009 17:32:42 -0400 From: craf <[email protected]> Subject: [Gambas-user] Procedure new() To: Lista Gambas Ingles <[email protected]> Message-ID: <1248816762.3590.24.ca...@pc> Content-Type: text/plain Hi. What are the roles in the general procedure new ()? What difference has the procedure Form_Open () Regards ------------------------------ Message: 3 Date: Tue, 28 Jul 2009 17:45:46 -0400 From: craf <[email protected]> Subject: Re: [Gambas-user] Background color for Textbox To: richard terry <[email protected]>,??? mailing list for gambas ??? users <[email protected]> Message-ID: <1248817546.3590.25.ca...@pc> Content-Type: text/plain Ok. Thanks. -----Mensaje original----- De: richard terry <[email protected]> Reply-to: richard terry <[email protected]>, mailing list for gambas users <[email protected]> Para: mailing list for gambas users <[email protected]> Asunto: Re: [Gambas-user] Background color for Textbox Fecha: Wed, 29 Jul 2009 07:29:25 +1000 On Wed, 29 Jul 2009 05:41:11 am craf wrote: > Hello. > > When selecting a background color for a textbox only allows me to select > any of them. For example to select the color blue shown by the arrow, > shows me a completely different color. Are there certain colors in > Gambas?. Is this normal?. > > > Select a color for the background 0080ff text box > > > But this shows me another pink > > > Regards Any color including those of? your imagination. HOwever I agree that setting it doesn't always work properly. If you used the pop-up dialog box? In my version if you type in the hex, nothing changes automatically. Also if you click on the color gradient anywhere, the square containing the colour dosn't change to indicate - you need to move the brightless slighter at the right. I've raised these things with Benoit before. Regards Richard ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now.? http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------ Message: 4 Date: Tue, 28 Jul 2009 23:50:18 +0200 From: Beno?t Minisini <[email protected]> Subject: Re: [Gambas-user] Background color for Textbox To: mailing list for gambas users <[email protected]> Message-ID: <[email protected]> Content-Type: Text/Plain;? charset="utf-8" > Hello. > > When selecting a background color for a textbox only allows me to select > any of them. For example to select the color blue shown by the arrow, > shows me a completely different color. Are there certain colors in > Gambas?. Is this normal?. > > > Select a color for the background 0080ff text box > > > But this shows me another pink > > > Regards This is a bug I am currently investigate... -- Beno?t ------------------------------ Message: 5 Date: Tue, 28 Jul 2009 14:54:34 -0700 From: nic <[email protected]> Subject: [Gambas-user] DrawingArea To: mailing list for gambas users <[email protected]> Message-ID: ??? <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 How do I draw a circle (any size, I will modify it) in a drawing area? ------------------------------ Message: 6 Date: Wed, 29 Jul 2009 00:03:46 +0200 From: Beno?t Minisini <[email protected]> Subject: Re: [Gambas-user] Background color for Textbox To: mailing list for gambas users <[email protected]> Message-ID: <[email protected]> Content-Type: Text/Plain;? charset="utf-8" > > Hello. > > > > When selecting a background color for a textbox only allows me to select > > any of them. For example to select the color blue shown by the arrow, > > shows me a completely different color. Are there certain colors in > > Gambas?. Is this normal?. > > > > > > Select a color for the background 0080ff text box > > > > > > But this shows me another pink > > > > > > Regards > > This is a bug I am currently investigate... OK, the bug is fixed in revision #2186. This was a fix in Val() for Gambas 3 that I forgot to backport in Gambas 2. I will make a 2.15.2 as soon as possible. Regards, -- Beno?t ------------------------------ Message: 7 Date: Wed, 29 Jul 2009 00:05:59 +0200 From: Beno?t Minisini <[email protected]> Subject: Re: [Gambas-user] DrawingArea To: mailing list for gambas users <[email protected]> Message-ID: <[email protected]> Content-Type: Text/Plain;? charset="utf-8" > How do I draw a circle (any size, I will modify it) in a drawing area? in the DrawingArea Draw event handler: Draw.Circle(XCenter, YCenter, Radius) Regards, -- Beno?t ------------------------------ Message: 8 Date: Tue, 28 Jul 2009 18:20:11 -0400 From: craf <[email protected]> Subject: Re: [Gambas-user] Background color for Textbox To: mailing list for gambas users <[email protected]> Message-ID: <1248819611.3590.26.ca...@pc> Content-Type: text/plain; charset="UTF-8" Ok. Thanks very much, Benoit Regards -----Mensaje original----- De: Beno?t Minisini <[email protected]> Reply-to: mailing list for gambas users <[email protected]> Para: mailing list for gambas users <[email protected]> Asunto: Re: [Gambas-user] Background color for Textbox Fecha: Wed, 29 Jul 2009 00:03:46 +0200 > > Hello. > > > > When selecting a background color for a textbox only allows me to select > > any of them. For example to select the color blue shown by the arrow, > > shows me a completely different color. Are there certain colors in > > Gambas?. Is this normal?. > > > > > > Select a color for the background 0080ff text box > > > > > > But this shows me another pink > > > > > > Regards > > This is a bug I am currently investigate... OK, the bug is fixed in revision #2186. This was a fix in Val() for Gambas 3 that I forgot to backport in Gambas 2. I will make a 2.15.2 as soon as possible. Regards, ------------------------------ Message: 9 Date: Tue, 28 Jul 2009 15:27:58 -0700 From: nic <[email protected]> Subject: Re: [Gambas-user] DrawingArea To: mailing list for gambas users <[email protected]> Message-ID: ??? <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Is there a way I could define a symbol (I don't know how to do that) for the X,Y, and radius? That way my code could actively modify the circle while the programming is running. Thanks again! 2009/7/28 Beno?t Minisini <[email protected]> > > How do I draw a circle (any size, I will modify it) in a drawing area? > > in the DrawingArea Draw event handler: > > Draw.Circle(XCenter, YCenter, Radius) > > Regards, > > -- > Beno?t > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now.? http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------ Message: 10 Date: Wed, 29 Jul 2009 01:39:39 +0200 From: Beno?t Minisini <[email protected]> Subject: Re: [Gambas-user] Background color for Textbox To: mailing list for gambas users <[email protected]> Message-ID: <[email protected]> Content-Type: Text/Plain;? charset="utf-8" > > > Hello. > > > > > > When selecting a background color for a textbox only allows me to > > > select any of them. For example to select the color blue shown by the > > > arrow, shows me a completely different color. Are there certain colors > > > in Gambas?. Is this normal?. > > > > > > > > > Select a color for the background 0080ff text box > > > > > > > > > But this shows me another pink > > > > > > > > > Regards > > > > This is a bug I am currently investigate... > > OK, the bug is fixed in revision #2186. This was a fix in Val() for Gambas > 3 that I forgot to backport in Gambas 2. > > I will make a 2.15.2 as soon as possible. > > Regards, The 2.15.2 package has been uploaded to sourceforge, but apparently it is not available immediately for downloading. We can just wait and pray... -- Beno?t ------------------------------ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now.? http://p.sf.net/sfu/bobj-july ------------------------------ _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user End of Gambas-user Digest, Vol 38, Issue 50 ******************************************* _______________________________________ ???????????? http://cn.mail.yahoo.com ------------------------------ Message: 3 Date: Sat, 8 Aug 2009 03:28:01 -0700 (PDT) From: kobolds <[email protected]> Subject: Re: [Gambas-user] compiling gambas2 on opensuse 11.1 x64 To: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset=us-ascii kobolds wrote: > > I try many times try to compile gambas2 from source . I left with 4 > warning to solve . please help me > http://www.nabble.com/file/p24868373/log.txt log.txt > > - gb.corba > libACE.so - from acroread , libomniORB4.so, libomniDynamic4.so > > - gb.db.firebird > install from opensuse database respository > (http://download.opensuse.org/repositories/server:/database/openSUSE_11.1/) > > - gb.db.mysql > install from opensuse database respository > (http://download.opensuse.org/repositories/server:/database/openSUSE_11.1/) > but missing mysql-devel . > > - gb.qte > ?? no idea what missing ?? > > > > > > I try compile gambas3, this time I get different problem - gb.corba - gb.db.firebird - gb.db.mysql - gb.sdl i don't know how to solve this problem. can anyone help me please? -- View this message in context: http://www.nabble.com/compiling-gambas2-on-opensuse-11.1-x64-tp24868373p24876908.html Sent from the gambas-user mailing list archive at Nabble.com. ------------------------------ Message: 4 Date: Sat, 8 Aug 2009 13:10:08 +0200 From: Beno?t Minisini <[email protected]> Subject: Re: [Gambas-user] compiling gambas2 on opensuse 11.1 x64 To: mailing list for gambas users <[email protected]> Message-ID: <[email protected]> Content-Type: Text/Plain; charset="utf-8" > kobolds wrote: > > I try many times try to compile gambas2 from source . I left with 4 > > warning to solve . please help me > > http://www.nabble.com/file/p24868373/log.txt log.txt > > > > - gb.corba > > libACE.so - from acroread , libomniORB4.so, libomniDynamic4.so > > > > - gb.db.firebird > > install from opensuse database respository > > (http://download.opensuse.org/repositories/server:/database/openSUSE_11..1 > >/) > > > > - gb.db.mysql > > install from opensuse database respository > > (http://download.opensuse.org/repositories/server:/database/openSUSE_11..1 > >/) but missing mysql-devel . > > > > - gb.qte > > ?? no idea what missing ?? > > I try compile gambas3, this time I get different problem > - gb.corba > - gb.db.firebird > - gb.db.mysql > - gb.sdl > > > i don't know how to solve this problem. can anyone help me please? Not compiling gb.qte is not a problem, forget it. But for the others, you just have to install the development packages needed by the components. I don't know how they name them on OpenSuse, but did you read the documentation about OpenSuse installation on the wiki? -- Beno?t ------------------------------ Message: 5 Date: Sat, 8 Aug 2009 13:16:35 +0200 From: Beno?t Minisini <[email protected]> Subject: Re: [Gambas-user] Why I meet "illegal instruction" ? To: mailing list for gambas users <[email protected]> Message-ID: <[email protected]> Content-Type: Text/Plain; charset="utf-8" > My Dear, > I'm a fortune teller, writing a predict fortune program. > > dim gan as TienGan 'TienGan is a Class > dim dx as ShiXing 'ShiXing is a Class > dim fd as FlowData 'FlowData is a Class, it have defined many constant. > > gan = new TienGan(3, fd) > dx = new ShiXing(gan.GetValue(), fd) > why " dx = new ..." this line wrong ? gambas said "illegal instruction" . > Thank you > > This is usually a bug in Gambas, but I need your full project and a way to reproduce the "Illegal instruction" error. Otherwise I can't fix it! Regards, -- Beno?t ------------------------------ Message: 6 Date: Sat, 8 Aug 2009 10:37:31 -0500 From: Carlos Prieto L?pez <[email protected]> Subject: Re: [Gambas-user] Gambas in Science ? To: mailing list for gambas users <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 I recently used Gambas for a simple ray-tracing application to simulate the effects of dissipation on light refraction. I am currently working on a program to store, manipulate and present laboratory data. I'm not familiar to the modules you talk about. Regards, Carlos 2009/8/7 Nick Rathke <[email protected]> > Hi Gambas users, > > I was wondering if any one is using Gambas for Science related work ? > > Would Gambas modules fo OpenMPI, OpenMP, CUDA be useful ? How about BLAS > or Lapack ? > > I am not sure how doable any of these are, but I might try to put some > of these together for my own use.... > > -- > Nick Rathke > Scientific Computing and Imaging Institute > Sr. Systems Administrator > [email protected] > www.sci.utah.edu > 801-587-9933 > 801-557-3832 > > "I came I saw I made it possible" Royal Bliss - Here They Com > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ------------------------------ _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user End of Gambas-user Digest, Vol 39, Issue 22 ******************************************* _______________________________________ 辣茩妏蚚閉湮⺍講捇誥蚘眊 http://cn.mail.yahoo.com ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
