mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
Release calc version 2.10.2t30
This commit is contained in:
26
help/ord
Normal file
26
help/ord
Normal file
@@ -0,0 +1,26 @@
|
||||
NAME
|
||||
ord - return integer corresponding to character value
|
||||
|
||||
SYNOPSIS
|
||||
ord(c)
|
||||
|
||||
TYPES
|
||||
c string
|
||||
|
||||
return int
|
||||
|
||||
DESCRIPTION
|
||||
Return the integer value of the first character of a string.
|
||||
|
||||
EXAMPLE
|
||||
> print ord("DBell"), ord("chongo"), ord("/\../\"), ord("!")
|
||||
68 99 47 33
|
||||
|
||||
LIMITS
|
||||
none
|
||||
|
||||
LIBRARY
|
||||
none
|
||||
|
||||
SEE ALSO
|
||||
char
|
Reference in New Issue
Block a user