QTP choose problem
Richard Witkopp
witkopp@idt.com
Mon, 2 Nov 1998 10:34:23 -0800
Thanks, I'll try that. But is this not almost identical to the
example given on page 409 of the New Features manual for 7.10.E
for OpenVMS?
> Hi Richard,
>
> I have not checked this out in the manual, but it looks to me
> that the problem
> occurs because "choose" is done before any "define"s. Thus at
> the time of doing
> the "choose", the defined value does not yet exist. Thus you
> are getting an
> error.
>
> NOTE: if this is a QTP, you should use a "global temp"
> instead of the "define".
> Global temps are always processed first, i.e. BEFORE any "choose"s or
> "define"s.
>
> Regards,
>
> Arthur Kogan
> Westpac Financial Services
> Sydney, Australia
>
> Richard Witkopp wrote:
>
> > Howdy PowerHosers,
> >
> > I am having a problem with QTP while parsing a choose
> statement that is
> > almost verbatim like an example in the manual. What's wrong
> with this
> > picture?
> >
> > > define d_loc char * 3 = parm prompt "Enter location (PHL,
> PNG, USA, VEN):
> > " &
> > > upshift
> > >
> > > choose facility_product (d_loc + "ASM@")
> > *E* Expression specified for CHOOSE value contains invalid
> item reference.
> >
> > Thanks
> >
> > Vax VMS 7.10.e1
> >
> > = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> = = = = = = = =
> > Subscribe: "subscribe powerh-l" in message body to
> majordomo@lists.swau.edu
> > Unsubscribe: "unsubscribe powerh-l" in message to
> majordomo@lists.swau.edu
> > powerh-l@lists.swau.edu is gatewayed one-way to
> bit.listserv.powerh-l
> > This list is closed, thus to post to the list, you must be
> a subscriber.
>
>
>
>
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.