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...
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...
Sorry, only registered users may post in this forum.


