[Gambas-user] Re:PRINT INPUT and Umlauts

Bertand-Xavier M. katsancat at ...11...
Tue Feb 14 09:16:40 CET 2006


> seams to work right for me (only the umlaut is bad)

Hi,

To display special characters in the console -like inflexions on wovels- you 
have to use the chr function on the character ASCII representation.
Here are 4 attempts to display the euro symbol: funny to note that the only 
one that appears fine in the code won't during execution.

SUB MAIN
 PRINT "euro: €"
 PRINT "euro: \xa4"
 PRINT Chr(&Ha4) 
 PRINT Chr(164)
END

Regards,
BXM





More information about the User mailing list