Quantcast
Channel: SCN : All Content - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2935

PB 12.0 Issue with arrays of objects

$
0
0

I'm using PowerBuilder 12.0 and have created a web proxy using .net. I have the following objects in the web service. The problem I have is trying to declare and create the arrays.

 

request objects.png

Taking the array in loadfnolrequest -

 

I declare:

 

     loadfnolrequestmpcorg       l_mpcorg[]

 

 

Then:

 

     l_mpcorg = CREATE loadfnolrequestmpcorg[]

 

 

I get the following message when I try to save my script - "mixing array and non-array in assignment statement". If I just stop with the declaration, run in debug, and try to fill one of the properties in that array I get blown out of the development. This happens no matter what array I try to create.

 

My web service runs fine but I need to load these objects and arrays for the request. Pulling my hair out (not much to pull anymore).

 

What am I doing wrong?


Viewing all articles
Browse latest Browse all 2935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>