View Full Version : Ubuntu Character set!!! please help
twig
February 17th, 2005, 03:15 PM
Hi, im making a program with realbasic 5.5 for Ubuntu and i have a problem with it recognising the return carridge character. i`m making the program for ubuntu on a windows machine, and windows uses the ascii code "13" for the carridge return button, if anyone knows what it is for ubuntu please mail me at anthonyarde@mail.com
or at anthonyarde@gmail.com
thanks Anthony.
TheFifth
June 30th, 2005, 03:56 PM
Hi, im making a program with realbasic 5.5 for Ubuntu and i have a problem with it recognising the return carridge character. i`m making the program for ubuntu on a windows machine, and windows uses the ascii code "13" for the carridge return button, if anyone knows what it is for ubuntu please mail me at anthonyarde@mail.com
or at anthonyarde@gmail.com
thanks Anthony.
I don't know if you still need the answer to this question as you asked it so long ago, but in RealBasic you should use the 'EndOfLine' keyword to add a carriage return to a string.
For example:
a = "hello" + EndOfLine + "there"
This way RealBasic will use the correct codes dependant on if it is running on Windows or Linux and you do not need to check what the host OS is.
Hope this helps.
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.