Re: Array of short values

Frederic RISS
2007-02-14T15:42:29Z

On Wed, 2007-02-14 at 16:32 +0100, Christoph Bartoschek wrote:
> Hi,
>
> is it possible to easily set an array of short as a convenience variable?
>
> set $arr = (short *) {1, 2, 3}
>
> Currently I have to use:
>
> set $arr = (short *) {0x00020001, 0x00000003}

try
set $arr = {(short)1, (short)2, (short)3}

Not very convenient, but it should work

Fred.