MapWindow 4 - ActiveX Control Programming : MapWindow Discussion Forum
Hi... How do I do this in Powerbuilder: object result = null; ... if (sf.SelectShapes(ext, 0.0, SelectMode.INTERSECTION, ref result)) { int[] shapes = result as int[]; My question goes to the casting: shapes[
Powerbuilder Type casting
Posted by: joggi ()
Date: March 29, 2012 09:48PM

Hi...
How do I do this in Powerbuilder:

object result = null;
...
if (sf.SelectShapes(ext, 0.0, SelectMode.INTERSECTION, ref result))
{
int[] shapes = result as int[];


My question goes to the casting:
shapes[1] =Integer(result[1]) doesn't work because result is not an array... just an object...

Options: ReplyQuote


Sorry, only registered users may post in this forum.





Banner Exchange




GISCP.com




Send us your banner logo (160x120) for the space above, and add this MapWindow banner ad to your site:

Just paste this text in your page: