Hi,

I today looked at hash and list datatypes and found out following:

->> probe huh
make list! [1 2 3]
== make list! [1 2 3]
->> print pick huh 1
1
->> print at huh 1
** Script Error: Cannot use at on list! value.
** Where: print at huh 1
->> help at
Returns the series at the specified index.
Arguments:
    series --  (series)
    index -- Can be positive, negative, or zero. (number)
->> series? "asdfda"
== true
->> series? huh
== true
->>

hmm, so list is a series, help for 'at refers to series, but 'at will
not work upon 'list datatype? Any reason?

second:

->> huh/1
** Script Error: Cannot use path on list! value.
** Where: huh/1
->>

Any reason path! doesn't work upon list? (it works with block and hash
datatype though ...)

Thanks,

-pekr-

Reply via email to