1. Prasanth Kalivarapu
  2. PowerBuilder
  3. Tuesday, 23 July 2019 08:44 AM UTC

Hi All

I have migrated our application from PowerBuilder 7.0 to Appeon PowerBuilder 2019.

Currently i am having an issue where i m not getting values for returntype values having typedefinition datatype for scriptdefinition object.

for example:

/*variable declaration*/

classdefinition cdo

scriptdefinition sd

typedefinition td

cdo = .ClassDefinition

sd = cdo.scriptlist[ll_count]

td = sd.ReturnType

 

 

Thanks for your kind help.

Prasanth Kalivarapu Accepted Answer Pending Moderation
  1. Wednesday, 24 July 2019 06:22 AM UTC
  2. PowerBuilder
  3. # 1

Hi Chris,
I am not getting values for scriptlist function used above. Those are stored with scriptdefinition datatype. The same function when used in PB 7.0 fetches values.

Is there some alternative to proceed without using classdefinition?

I have explained more in brief in the screenshot attached below.

Thanks 

Prasanth

Comment
  1. Chris Pollach @Appeon
  2. Wednesday, 24 July 2019 14:34 PM UTC
Hmmm .... Interesting.



My suggestion would be to create a simple Test Case PB app and then open a Support Ticket for this issue.
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 23 July 2019 14:07 PM UTC
  2. PowerBuilder
  3. # 2

Hi  Prasanth ;

   FYI:  For scripts that do not return anything, the ReturnType is an invalid object. Use the IsValid() function to test for this case.

HTH

Regards ... Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.