Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,6 +0,0 @@
|
|||
with Ada.Text_IO; use Ada.Text_IO;
|
||||
|
||||
procedure Char_Code is
|
||||
begin
|
||||
Put_Line (Character'Val (97) & " =" & Integer'Image (Character'Pos ('a')));
|
||||
end Char_Code;
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
print to :integer first "a"
|
||||
print to :integer `a`
|
||||
print to :integer 'a'
|
||||
print to :char 97
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
identification division.
|
||||
program-id. character-codes.
|
||||
remarks. COBOL is an ordinal language, first is 1.
|
||||
remarks. 42nd ASCII code is ")" not, "*".
|
||||
procedure division.
|
||||
display function char(42)
|
||||
display function ord('*')
|
||||
goback.
|
||||
end program character-codes.
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
import extensions;
|
||||
|
||||
public program()
|
||||
public Program()
|
||||
{
|
||||
var ch := $97;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +0,0 @@
|
|||
(string-to-char "a") ;=> 97
|
||||
(format "%c" 97) ;=> "a"
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
printf(1,"%d\n", 'a') -- prints "97"
|
||||
printf(1,"%s\n", 97) -- prints "a"
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
class Main {
|
||||
static public function main():Void {
|
||||
trace("a".code);
|
||||
trace("∅".code);
|
||||
trace("🍆".code);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
_ic "abcABC"
|
||||
`i$ "abcABC"
|
||||
97 98 99 65 66 67
|
||||
|
||||
_ci 97 98 99 65 66 67
|
||||
`c$ 97 98 99 65 66 67
|
||||
"abcABC"
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
$char = [convert]::toChar(0x2f) #=> /
|
||||
|
|
@ -1 +0,0 @@
|
|||
$char = [char] 'a'
|
||||
|
|
@ -1 +0,0 @@
|
|||
$charcode = [int] $char # => 97
|
||||
|
|
@ -1 +0,0 @@
|
|||
[int] [char] '☺' # => 9786
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
[char] 97 # a
|
||||
[char] 9786 # ☺
|
||||
|
|
@ -1 +1,2 @@
|
|||
'c putc
|
||||
$a n:put nl
|
||||
#97 c:put nl
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
'prints a
|
||||
WScript.StdOut.WriteLine Chr(97)
|
||||
|
||||
'prints 97
|
||||
WScript.StdOut.WriteLine Asc("a")
|
||||
Loading…
Add table
Add a link
Reference in a new issue