if IsInteger(Val(sRain)) = TRUE THEN iRain = Val(sRain) 'if it's not an integer ELSE
and if it's not an integer ? ... a float for exemple... and be carefull ... select case if more slow than if then why did you convert a string into a val to see if it is a string ??? 2009/8/25 MSulchan Darmawan <bleke...@gmail.com>: > Pada Tue, 25 Aug 2009 00:50:52 -0600 > Dimitris Anogiatis <dos...@gmail.com> menulis: > >> I hope this helps a bit more > > Great... this is more reasonable... > I'll try it first... > Thank you guys... > > -- > Cheers, > [-Sulchan-] > Terbang dengan claws-mail 3.7.2 > Mendarat di hardy heron 8.04.3 LTS > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user