Declaring an Array as the class property

Discuss issues and ideas you have to configuring displays with PowerVision
CustomFP
Posts: 41
Joined: Thu Mar 22, 2012 4:12 pm

Declaring an Array as the class property

Post by CustomFP » Mon Mar 10, 2014 5:58 pm

I am try to create a class with a set of small arrays as class property
The following creates an error/
class LoadSense
{
int TableSize;
float[] Output(3);
}

However declaring array out side of this class or only declaring single variables as class property does not.
Does any one know how to correctly declare an array as a class property?
jpratt
Enovation Controls Development
Enovation Controls Development
Posts: 222
Joined: Mon Jun 21, 2010 11:18 am

Re: Declaring an Array as the class property

Post by jpratt » Tue Mar 11, 2014 10:16 am

Hum. It may be that Angel script doesn't allow an array on a class. Might have to use a set of static variables.
Jake Pratt
Software Development Manager