Subject: | |
From: | |
Reply To: | |
Date: | Fri, 17 Jan 2014 14:49:15 -0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
On 1/17/14 2:06 PM, Lowe, Chuck wrote:
> We are required by our customers to have the small version or the (R) and (C).
>
> Does anyone know how to define this in PowerHouse?
Here's how I used to define escapes and form feeds... you should be able
to adapt for copyright characters:
define esc-num int*4 = 27
define esc cha*1 = char(esc-num)[2:1]
define ff-num int*4 = 12
define formfeed cha*1 = char(ff-num)[2:1]
I don't know why I defined the "-num" fields first. One might assume
that these should work equally well:
define esc cha*1 = char(27)[2:1]
define formfeed cha*1 = char(12)[2:1]
Further, I don't know why the byte extraction "[2:1]" is required,
either. Seems like these ought to work:
define esc cha*1 = char(27)
define formfeed cha*1 = char(12)
All I know is the original set of defines worked perfectly for years as
the means to get "unprintables" into powerhouse defined items.
Once you have your copyright character in a defined item it should be
easy to include it in a report.
Barry Lake
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|