Blitz (100/176)

From:Richard Brooklyn
Date:26 Jul 2001 at 09:43:56
Subject:Re: MUICycle

Hello David

On 20-Jul-01, you wrote:

> Oh, and are you sure that's how MUICycles work? I'm sure someone asked a
> similar question a few weeks ago, and you need to supply an array of
> string pointers terminated with a NULL pointer, i.e.:
>
> Dim strings.s(10)
> strings(0)="blah"
> strings(1)="balaaah"
> strings(2)="foo"
> ...
> strings(10)="bar"
>
> Dim strptr.l(11) ; Notice -> 1 bigger than the string array
> for i.w=0 to 10
> strptr(i)=&strings(i)
> next
> strptr(11)=0
>
> MUICycle #selector,&strptr(0)

Cheers David. With a little modifciation ( to suit my code) everything now
works fine :-)

That stuff about unsigned byte tables helped as well!

---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie