Posted 12 years ago by Alex
Version: 4.0.0246
Platform: Services
Environment: Windows XP (32-bit)
Avatar
It appears that the Intelliprompt doesn't work with arrays.
Actually it works perferect for

string[] data;
but doesn't work with any other types, like

byte[] data;
int[] 
or 
bool[]
Alex

Comments (5)

Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Alex,

Yes that is still a known issue on our TODO list. You can read more details about the current status here:
http://www.actiprosoftware.com/Support/Forums/ViewForumTopic.aspx?ForumTopicID=2189

[Modified at 04/12/2007 06:38 PM]


Actipro Software Support

Posted 12 years ago by Alex
Avatar
Just to double check that we are talking about the same issue. I found that if I have

string[] sArr;
sArr.Length // this works, but
byte[] bArr;
bArr.  // This doesn't work
Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Alex,

Yes as mentioned in that post, indexers don't work correctly yet for arrays.

In your sample the Length property is from the String class, not the array. So it isn't really working right, it's just a coincidence that both have a Length property.


Actipro Software Support

Posted 12 years ago by Igor Velikorossov - Sydney, Australia
Avatar
There is another problem with arrays - parser seems to be having issues with jagged array.
For instance the following code works just fine in VS.NET and "statement expected" error in SE:

double[][] x = new double[5][];        // <-- error is marked on [][] 
x[0] = new double[3];
Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Thanks for the sample, it is now fixed for the next maintenance release.


Actipro Software Support

The latest build of this product (v2018.1 build 0341) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.