Character codes: Difference between revisions

no edit summary
No edit summary
Line 998:
message char hex"c3" & char hex"a8"; % since C3 A8 is the UTF-8 encoding for "è"
end</lang>
 
=={{header|Microsoft Small Basic}}==
<lang vb>TextWindow.WriteLine("The ascii code for 'A' is: " + Text.GetCharacterCode("A") + ".")
TextWindow.WriteLine("The character for '65' is: " + Text.GetCharacter(65) + ".")</lang>
 
{{out}}
<lang basic>The ascii code for 'A' is: 65.
The character for '65' is: A.
Press any key to continue...</lang>
 
 
 
=={{header|Modula-2}}==
Line 1,026 ⟶ 1,037:
<lang modula3>ORD('a') (* Returns 97 *)
VAL(97, CHAR); (* Returns 'a' *)</lang>
 
 
 
 
 
 
=={{header|MUMPS}}==