Re: Questions about arrays

From: Kish Shen <ks15_at_icparc.ic.ac.uk>
Date: Fri 05 Mar 2004 01:57:26 PM GMT
Message-Id: <E1AzFpO-00021Q-00@holborn.icparc.ic.ac.uk>
Just an additional comment on your question:

>> In general, how can I initialize an array? My current approach is

If you know the size of your array, you can simply do a unification:

[eclipse 1]: A = [](1,2,3,4).

A = [](1, 2, 3, 4)
Yes (0.00s cpu)

Cheers,

Kish Shen
Received on Fri Mar 05 12:56:38 2004

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:27 PM GMT GMT