fizzy wrote:
> i have a sortedlist.
> its values are hashtables.
>
> i need to access one of these hashtables:
>
> using option strict without a cast, i got a late binding error :
>
> mysortedlist("key")
>
> when i try to cast it:
>
> directcast(mysortedlist("key"), "hashtable") or
> ctype(mysortedlist("key"),"hashtable")
>
> i get an error "type expected"
>
> what is the correct way to perform the case? can anyone help?
You are almost there!
directcast(mysortedlist("key"), HashTable)
No quotes
--
Larry Lard
Replies to group please