[Gambas-user] What's worng with this code?

phiber phiber at ...618...
Fri Sep 17 19:40:34 CEST 2004


Try  B = CFloat(Val(Left (profileline,j-1)))

On Fri, 2004-09-17 at 18:14, Wilson Pedro Tamega Junior wrote:
>    Please, why Gambas says that there is a Type
> Mismatch : wanted Float, got String instead!!! 
> 
> 
>    DIM B AS Float
>    DIM profileline as String
>    ....
> 
>  
>    B = CFloat(Left (profileline,j-1))
> 
> 
>    Thanks,
> 
>                     Wilson P. Tamega Jr.
> 
> 
> 	
> 	
> 		
> _______________________________________________________
> Yahoo! Messenger 6.0 - jogos, emoticons sonoros e muita diversão. Instale agora!
> http://br.download.yahoo.com/messenger/
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> Project Admins to receive an Apple iPod Mini FREE for your judgement on
> who ports your project to Linux PPC the best. Sponsored by IBM.
> Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user





More information about the User mailing list