[Slackers] Slang v1.4 released

Steve Judd sjudd at ffd2.com
Mon Jul 3 13:43:18 CDT 2006


Hey Magnus,

> like this?
> ----------------
> type basint
>    len 2
>    fixed
>    signed
> ----------------
> This means that the slang core would see this type exactly like an int,
> right?

Yup.

> Well, not really, I did imagine some basic extension that modifies
> integer arrays. It would have been a little quicker than manual endian
> conversion since I thought that using a basint type wouldn't need ANY
> conversion at all. Now I know better :)

Yeah, I didn't worry about endian conversion.  It could probably be made
to work, but...

> Ok, just one for the road..
> I seem to have found another bug. The following code will loop forever.
> ------------------------------------
> ubyte i
> for i=0:255
> endfor
> ------------------------------------

The most irritating thing about this is that I've fixed this bug like five
times already.  The recent rewrite of for-next obviously brought it back.
I blame Jaymz.

cu,

-S


More information about the Slackers mailing list