Re: [Gambas-user] Another Best Approach Question: Statistics over an array of objects

2013-08-10 Thread Bruce
On Thu, 2013-08-08 at 13:21 +0200, Tobias Boege wrote: > On Thu, 08 Aug 2013, Tobias Boege wrote: > > Public Sub Analysis(iCat As Integer, aObjs As Object[]) As Analysis[] > > Dim aResult As New Analysis[] > > Dim hAnalysis As Analysis > > Dim sProp As String > > Dim hObject As Object > >

Re: [Gambas-user] Another Best Approach Question: Statistics over an array of objects

2013-08-08 Thread Tobias Boege
On Thu, 08 Aug 2013, Tobias Boege wrote: > Public Sub Analysis(iCat As Integer, aObjs As Object[]) As Analysis[] > Dim aResult As New Analysis[] > Dim hAnalysis As Analysis > Dim sProp As String > Dim hObject As Object > Dim iValue As Integer > > ' Get the names of all properties in th

Re: [Gambas-user] Another Best Approach Question: Statistics over an array of objects

2013-08-08 Thread Tobias Boege
On Thu, 08 Aug 2013, Bruce wrote: > On Wed, 2013-08-07 at 23:56 +0930, Bruce wrote: > > On Wed, 2013-08-07 at 15:58 +0200, Tobias Boege wrote: > > > On Wed, 07 Aug 2013, Bruce wrote: > > > > I'm looking for good ideas again I'm afraid. > > > > > > > > > > > > I have an array of objects that can b

Re: [Gambas-user] Another Best Approach Question: Statistics over an array of objects

2013-08-07 Thread Bruce
On Wed, 2013-08-07 at 23:56 +0930, Bruce wrote: > On Wed, 2013-08-07 at 15:58 +0200, Tobias Boege wrote: > > On Wed, 07 Aug 2013, Bruce wrote: > > > I'm looking for good ideas again I'm afraid. > > > > > > > > > I have an array of objects that can be best described as a set of > > > categories wi

Re: [Gambas-user] Another Best Approach Question: Statistics over an array of objects

2013-08-07 Thread Bruce
On Wed, 2013-08-07 at 15:58 +0200, Tobias Boege wrote: > On Wed, 07 Aug 2013, Bruce wrote: > > I'm looking for good ideas again I'm afraid. > > > > > > I have an array of objects that can be best described as a set of > > categories with an associated value. Something along the lines of > > [Ca

Re: [Gambas-user] Another Best Approach Question: Statistics over an array of objects

2013-08-07 Thread Tobias Boege
On Wed, 07 Aug 2013, Bruce wrote: > I'm looking for good ideas again I'm afraid. > > > I have an array of objects that can be best described as a set of > categories with an associated value. Something along the lines of > [Cat1:String, Cat2:String, Cat3:String, Value:Float]. > > The general i

[Gambas-user] Another Best Approach Question: Statistics over an array of objects

2013-08-07 Thread Bruce
I'm looking for good ideas again I'm afraid. I have an array of objects that can be best described as a set of categories with an associated value. Something along the lines of [Cat1:String, Cat2:String, Cat3:String, Value:Float]. The general idea is that the user would select one of the categ