Usage Note 3673: How to get superscripts in SAS in printed output and variable labels
You can get superscripts for 0, 1, 2, and 3 in printed SAS output by
using the extended characters specified in hexadecimal. The following
example shows the superscripts for 0, 1, 2, and 3 using 'b0'x, 'b9'x,
'b2'x 'b3'x respectively:
data _null_;
file print;
put 'This is a superscript zero' 'b0'x;
put 'This is a superscript one' 'b9'x;
put 'This is a superscript two' 'b2'x;
put 'This is a superscript three' 'b3'x;
run;
The following example uses superscripts in a LABEL statement:
proc print label data=sashelp.class;
label age=age'b2'x;
run;
Operating System and Release Information
| SAS System | Base SAS | Microsoft Windows NT Workstation | 8 TS M0 | |
| Microsoft Windows 95/98 | 8 TS M0 | |
| Microsoft Windows 2000 Server | 8 TS M0 | |
| Microsoft Windows 2000 Advanced Server | 8 TS M0 | |
| Microsoft Windows 2000 Professional | 8 TS M0 | |
| Microsoft Windows 2000 Datacenter Server | 8 TS M0 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Usage Note |
| Priority: | |
| Topic: | SAS Reference ==> Procedures ==> PRINT
|
| Date Modified: | 2002-11-14 11:05:58 |
| Date Created: | 2000-10-20 08:45:42 |