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

Charlie Reinl na2492 at ...9...
Fri Sep 17 22:35:08 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. 
>>  
Salut, 
 
try (profileline, j - 1) 
 
Amicalement 
Charlie 
* Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de *




More information about the User mailing list