1. Prasanth Kalivarapu
  2. PowerBuilder
  3. Tuesday, 23 July 2019

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

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.



Hmmm .... Interesting.

My suggestion would be to create a simple Test Case PB app and then open a Support Ticket for this issue.
  1. Chris Pollach
  2. Wednesday, 24 July 2019
There are no comments made yet.
  1. Wednesday, 24 July 2019
  2. PowerBuilder
  3. # 1
Chris Pollach Accepted Answer Pending Moderation

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.


Regards ... Chris

There are no comments made yet.
  1. Tuesday, 23 July 2019
  2. PowerBuilder
  3. # 2
  • Page :
  • 1

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