On 7/21/07, James Paige <[EMAIL PROTECTED]> wrote:
> On Sat, Jul 21, 2007 at 02:37:19PM +1200, Ralph Versteegen wrote:
> > On 7/21/07, James Paige <[EMAIL PROTECTED]> wrote:
> > > On Fri, Jul 20, 2007 at 05:39:18PM -0500, Mike Caron wrote:
> > > > On 7/20/07, James Paige <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > How about her.st.hp and her.sta(0)?
> > > >
> > > > Win. It works for me.
> > >
> > > Okay, I'll do it now.
> > >
> >
> > Hold on! Why on earth don't you just do this:
> >
> > Union Stats
> >       stat(11) as integer
> >       Type
> >               hp as integer
> >               mp as integer
> >               str as integer
> >               acc as integer
> >               def as integer
> >               dog as integer
> >               mag as integer
> >               wil as integer
> >               spd as integer
> >               ctr as integer
> >               foc as integer
> >               hits as integer
> >       End Type
> > End Union
> >
> > It works in 0.16, and it's less ugly. Did everyone forget about RGBcolor?
>
> We did that but with sta(11) as integer at the end rather than at the
> beginning. Does it work differently when it is in a different order?
>
> > Now, why did you two call the array sta instead of stat? (Also, it
> > should have a ubound of 11, not 12) I would commit this, but I want to
> > rename sta.
>
> I'll fix the ubound. Thanks.
>
> I was reading "sta" as "st[at] a[rray]"
>

No, it DOES work: I just tested it! It doesn't matter whether the
array is at the end or the beginning, I removed the type wrapping the
union: that is what FB0.16 doesn't like.

TMC
_______________________________________________
ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to