05-18-2017 11:06 AM
can anyone provide the most efficient/simple syntax to add a degree sign (like for temperature in a vital signs table) to a display colum header in proc report?
thank you, Jill1
05-18-2017 11:10 AM
Don't know where you want to include it, but you can type it directly. Hold the alt key down and, while you have it depressed, enter 0176 using your numeric keypad, then release the alt key. e.g.: °
Art, CEO, AnalystFinder.com
05-18-2017 11:55 AM
05-18-2017 11:53 AM - edited 05-18-2017 11:54 AM
You could also create a macro variable with the degree sign using the byte function as below. You could then use the same macro variable in the column headings where you want to display the degree sign
05-18-2017 03:45 PM
And for completeness, to insert special symbols into your PROC REPORT or other Headers or Titles, using the ODS ESCAPECHAR Unicode function, you only need to declare you Escape Character (shown as '^' below) and then use the Unicode number for the symbol you want.
05-19-2017 12:07 PM
Thanks ..do you mind showing me the syntax to include a macro variable the DEFINE stmt? thank you!
DEFINE TEMP / display "Oral Temperature|(°C)"
05-19-2017 02:08 PM
05-21-2017 04:11 PM