[Gambas-user] Function doing unexpected things...

Ron Onstenk ronstk at ...239...
Thu Jul 20 08:08:01 CEST 2006


On Thursday 20 July 2006 04:34, sbungay wrote:
> ClassName.SubTotal = ComputeSubTotal(GridName,GridName.Column)
> 
I think here is you problem.

In the class you must have a declaration as
  Public SubTotal as Float

In that class you are calculate the value for it.
  SubTotal = ComputeSubTotal(GridName,GridName.Column)

should be then sufficient. Without 'ClassName'

I hoop this help.

Ron




More information about the User mailing list