[Gambas-user] short and byte arrays

Benoit Minisini gambas at ...1...
Mon May 3 16:42:52 CEST 2004


On Monday 03 May 2004 12:52, Grahame White wrote:
> I'm curious as to why an array of Short or Bytes isn't implemented. Sure I
> could use an array of integers for everything but it seems odd to me.
>

You have the Byte[] and Short[] classes for your needs :-)

> Also a way to create a signed/unsigned version of a datatype would be quite
> useful. There have been times when a short is too small and an integer
> seems wasteful but an unsigned short would be about right.

In a future version of Gambas ?

>
> Just because memory is pretty cheap and abundant doesn't mean we should be
> wasteful. That path leads to the dark side :)

May the force be with me :-)

>
> Grahame
>
>

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list