ORD  | 
     
  DEVELOPER  | 
  ![]()  | 
Trail: PROIV Documentation > Developer > PROIV Developer > Developing Functions > Events and Logic > ORD
| 
   
  | 
  
   
  | 
| 
   Purpose  | 
  
   ORD returns the ordinal value (0-255) of an alphanumeric character based on the internal machine coding (i.e., ASCII or EBCDIC).  | 
| 
   Syntax  | 
  
   variable = ORD (operand)   | 
| 
   Operation  | 
  
   operand is any valid alphanumeric constant, variable, or expression.  | 
| 
   Example  | 
  
   Assume $A = ‘X’ and $B = null.  | 
Topic ID: 520095










  