"chr " questions

Hello. There is a little problem with my device - "&" character is missing on the
keyboard. I have tried chr(38) -no success
Is there the right way to substitute the ampersand?

And one more thing.... How can I type small digits indicating power?All I have found
is chr(178) "2" and chr(179) "3".

Thank you.
 

Cableguy

Expert
Licensed User
Longtime User
Wich is your device?
All soft keyboard have the complete set os characters....
Have you tried the shift+6 combo?
have you checked in the numeric portion of the keyboard...
have you checked in the "special" accented characters portion of the keyboard..usually these two are accessed by a defined key in the keyb... ie, the numeric portion, should be represented by a 123 button...
 
My device is Rover, a cheap one manufactured in Russia. I am pretty sure there
is no ampersand on my device's native keyboard yet plenty of needless char on it.
I believe it's just on of the several glitches I have to suffer.
I had some keyboards installed but after the trial period is expired they are disabled.

Anyways...what's the use of Chr(38) I wonder?
 

RandomCoder

Well-Known Member
Licensed User
Longtime User
Hi Nicolas,

what's the use of Chr(38)?
This will add the & symbol to a string for example...
MsgBox( "This " & Chr(38) & " That")
Would give a message box displaying... This & That

It's not a very good example as you would obvioulsy have written as...
MsgBox("This & That")
to start off with but hopefully you get the idea.


As for your Rover Windows Mobile phone, I'm certain like Cableguy that it will have the ampersand included in the symbols. It's just a matter of finding it.
Possibly this link will help Èíòåðíåò-ìàãàçèí RoverPC, Ñìàðòôîíû, Êîììóíèêàòîðû, Êàðìàííûé êîìïüþòåð. (Don't know why it's displaying like this but it's the RoverPC support page) if nothing else you may be able to request a manual for your device if you don't already have one.

Regards,
RandomCoder
 
MsgBox( "This " & Chr(38) & " That")

It's not a very good example as you would obvioulsy have written as...
MsgBox("This & That")
to start off with but hopefully you get the idea.

I have tried those and other ways before

& Chr(38) & - doesn't work without ampersands - ......Chr(38)
makes the entire thing needless

As to the keyboard, I queried a RoverPC forum....I'll what they say

Regards
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…