On Fri, 14 Dec 2001 Robbo1Mark@... wrote:
> array datatype! variable size ; == array datatype! []
> vector datatype! fixed size ; == vector datatype! []
Switch these two and it's fine. I think the term vector is often used to
mean resizable array.
> Array is a constructor for a fixed datatype! series
>
> Array: function [datatype [datatype!] data [block!] size [integer!]] [
> make array! datatype data size
Not sure about these, but I don't have a better suggestion ATM.
> == vector integer! [1 2 4]
> >> poke b 2 #"a"
> ** Script error: vector a is of type integer! not char!.
> ** near: poke b 2 #"a"
This looks good though.
> By the way, have I got my use of Vector and Array the correct
> way round?
Ah, nope. :-)
Marcus
------------------------------------
If you find that life spits on you
calm down and pretend it's raining