Chapter Contents

Previous

Next
BYTE

BYTE



Returns one character in the ASCII or the EBCDIC collating sequence

Category: Character


Syntax
Arguments
Details
Examples
See Also

Syntax

BYTE (n)

Arguments

n
specifies an integer that represents a specific ASCII or EBCDIC character.
Range: 0-255


Details

For EBCDIC collating sequences, n is between 0 and 255. For ASCII collating sequences, the characters that correspond to values between 0 and 127 represent the standard character set. Other ASCII characters that correspond to values between 128 and 255 are available on certain ASCII operating environments, but the information those characters represent varies from host environment.


Examples

SAS Statements Results

ASCII EBCDIC
x=byte(80);


put x;
P
&


See Also

Functions:

COLLATE
RANK


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.