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 
------------------------------------------------------------------------------
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

Reply via email to