Hi all, My code is big, so maybe Gambas can convert my char in CP866 to HEX? Here is a part of my code:
Else If ch = "А" Then Print #Sport, Chr$(&H80); Else If ch = "а" Then Print #Sport, Chr$(&HA0); Else If ch = "Б" Then Print #Sport, Chr$(&H81); Else If ch = "б" Then Print #Sport, Chr$(&HA1); Else If ch = "В" Then Print #Sport, Chr$(&H82); Else If ch = "в" Then Print #Sport, Chr$(&HA2); And here is Code Page https://en.wikipedia.org/wiki/Code_page_866 Thanks in advance. -- View this message in context: http://gambas.8142.n7.nabble.com/Get-Hex-from-Char-using-some-Code-Page-tp58055.html Sent from the gambas-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/intel _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user