AnsweredAssumed Answered

vrf Record array with Enum values ???

Question asked by VRFuser on Aug 29, 2006
Vinod

I haven't noticed that before. I would say it's a BUG.

/Alex

-----Original Message-----
From: Vinod [mailto:papineni_vinod@yahoo.com]
Sent: den 29 augusti 2006 15:09
To: VRF
Subject: RE: [vrf] Record array with Enum values ???

Alex,

Yes, I have seen that. Even the "Unbuild Record" object also fails! I am not sure if this would qualify as a BUG???

-Vinod

--- "Alexander Poulikakos (KI/EAB)" <alexander.poulikakos@ericsson.com>
wrote:

> Hi
>
> When using the "Rec.fieldA" notation on record arrays, I assume that
> internally somewhere in VEE, all Record fields are concatenated and
> then returned as an array. At least that's how it works for all data
> types except for ENUM.
>
> For ENUMs, I would expect this kind of behavior. See attached example
> (EnumToArray.vee), where ENUMs are concatenated to a TEXT array.
>
> I guess there's no workaround for this, except for looping through the

> array and converting ENUMs to TEXT.
>
> /Alex
>
> -----Original Message-----
> From: Vinod [mailto:papineni_vinod@yahoo.com]
> Sent: den 29 augusti 2006 04:31
> To: VRF
> Subject: Re: [vrf] Record array with Enum values ???
>
> Is this because you cannot have an array of ENUM?
>
> --- "Alexander Poulikakos (KI/EAB)"
> <alexander.poulikakos@ericsson.com>
> wrote:
>
> > Hi VRF
> > 
> > When having a record array, it is possible to use "Rec.FieldA" to
> > retrieve "FieldA" from all elements in the array (the return value
> > is then an array it self with all the record field values), without
> > looping through the entire array. But for some reason it's not
> > possible to do this if the record field is of ENUM type. See
> > attached example "RecArray_WithEnum.vee".
> > 
> > Is there some sort of workaround for this, without looping through
> > the
>
> > entire array? I only need the selected value from each ENUM (Not the

> > entire ENUM) .
> > 
> > Regards,
> > Alex


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com

---
You are currently subscribed to vrf as:
alexander.poulikakos@ericsson.com To subscribe please send an email to:
"vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to
"leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".

---
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".

Outcomes