[Gambas-user] Removing / Modifying IsXXXX() functions in Gambas3

Benoît Minisini gambas at ...1...
Tue Nov 30 15:07:20 CET 2010


> 2010/11/30 Benoît Minisini <gambas at ...1...>:
> >> Don't want to bash, but why are CLng and CSng removed/replaced by
> >> CLong and CSingle and CStr is still there / not replaced by CString?
> > 
> > They were not replaced, I just removed some abbreviations. But I admit it
> > maye be stupid, as it just takes memory in the compiler. The interpreter
> > does not care.
> 
> Ok, I understand now I think CLng and CSng where 'aliases' of main
> functions CLong and CSingle.

They were aliases.

> 
> But CString is an 'alias' of CStr, not the main function, so the other
> way around, therefor you didn't remove Cstr, is that what you are
> saying?

CString and CStr are the same thing too.

> 
> Yes we did apparently...
> 
> Look at the attached screenshot..
> I marked -with my mouse- all the full lines of text you see in there
> except the last one "Main.ControlLed("EIB", "On")
> 
> The last letters of "byte" are not back colored purple, even though I
> have selected them.
> It does this with all lines having comments in them
> 
> It's due to the fact that the font of the comments are different
> size/type as the rest I guess, this is the default Ubuntu type theme.
> 

No, it's a bug in Qt or in the font you use. It happens sometimes. You should 
use another font!

Regards,

-- 
Benoît Minisini




More information about the User mailing list