comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: bug? or how to distinguish between a Hash and an array of Hashes ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: bug? or how to distinguish between a Hash and an array of Hashes ? [message #83470 is a reply to message #83389] Mon, 04 March 2013 08:55 Go to previous messageGo to previous message
Lajos Foldy is currently offline  Lajos Foldy
Messages: 176
Registered: December 2011
Senior Member
On Monday, March 4, 2013 5:37:26 PM UTC+1, superchromix wrote:
> thanks. Even for someone familiar with IDL, this seems somewhat
>
> backwards. For the rest of the IDL data types we can distinguish
>
> between array and scalar objects using SIZE(x, /N_Dimensions)... no?
>
> Now for lists and hashes we have to check the typename() for HASH vs
>
> OBJREF ? that can't be how it was intended..?
>
>
>
> -Mark

Except structures. There is no scalar structure, s={i:0} and a=replicate(s,2) are both arrays.

regards,
Lajos
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: bug? or how to distinguish between a Hash and an array of Hashes ?
Next Topic: Nan represented by a gray area

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 08:31:34 PDT 2025

Total time taken to generate the page: 0.16118 seconds