Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Dynamic Variable

2 posts in Objects Last posting was on 2003-01-04 13:32:03.0Z
Emanuele Carbone Posted on 2003-01-04 12:57:31.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Emanuele Carbone" <ECarbone@infinito.it>
Subject: Dynamic Variable
Date: Sat, 4 Jan 2003 13:57:31 +0100
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: host136-105.pool80116.interbusiness.it 80.116.105.136
Message-ID: <364_H1vKZM$sCHA.338@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:646
Article PK: 713219

Hi,
i have to read the value of a instance variable in a object, when its
name is referenced in a string, but i dunno how to read this value ia a
dynamic way.
to clerify the problem: as a sort of external script parser,. so if in this
script is referenced the varible "is_myvar" my parser object must assign the
value of "is_myvalue" to a second variale. it's clear that i provide in my
application a value for "s_myvar", but i dont want to add code of assignment
for every variable i decide to call in my external script.


Thanks


Roy Kiesler [TeamSybase] Posted on 2003-01-04 13:32:03.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Roy Kiesler [TeamSybase]" <SPAM_FREE_roy.kiesler@teamsybase.com>
Subject: Re: Dynamic Variable
Date: Sat, 4 Jan 2003 08:32:03 -0500
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: pool-141-154-68-58.bos.east.verizon.net 141.154.68.58
Message-ID: <364_Yqiv6g$sCHA.155@forums.sybase.com>
References: <364_H1vKZM$sCHA.338@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:645
Article PK: 713215

You cannot do that in PowerBuilder.

--
<hopethishelps/>
Roy Kiesler [TeamSybase]
Sybase Developer Network (SDN) -- http://sdn.sybase.com

"Emanuele Carbone" <ECarbone@infinito.it> wrote in message
news:H1vKZM$sCHA.338@forums.sybase.com...
> Hi,
> i have to read the value of a instance variable in a object, when its
> name is referenced in a string, but i dunno how to read this value ia a
> dynamic way.
> to clerify the problem: as a sort of external script parser,. so if in
this
> script is referenced the varible "is_myvar" my parser object must assign
the
> value of "is_myvalue" to a second variale. it's clear that i provide in my
> application a value for "s_myvar", but i dont want to add code of
assignment
> for every variable i decide to call in my external script.
>
>
> Thanks
>
>