techique required

Esko Christiansen esko.christiansen@marketmanagement.se
Thu, 5 Nov 1998 11:23:00 +0100


Hi,

Instead of knowing which byte to put data into use:

define ictrl_g integer*2 = 7 * 257     ; put 7 into both low and high byte
define ctrl_g character*1 = (characters(ictrl_g))[1:1]

([2:1] will also work for all environments)

___
Esko Christiansen, Market Management System Sverige AB
Sveavägen 76, SE-113 59 Stockholm, Sweden
esko.christiansen@marketmanagement.se


-----Original Message-----
From: owner-powerh-l@sphere.swau.edu
[mailto:owner-powerh-l@sphere.swau.edu]On Behalf Of Chris Sharman
Sent: 5 november 1998 09:38
To: powerh-l@lists.swau.edu
Cc: Chris.Sharman@ccagroup.co.uk
Subject: Re: techique required


>You could define a variable to store the ^G using the integer equivalent
>and append it to the info statement.
>eg.
>
>define ictrl_g integer*2 = 7
>define ctrl_g character*1 = (characters(ictrl_g))[2:1]

This is architecture dependent: on VMS it's (characters(ictrl_g))[1:1]

Alternatively, the EDT/TPU sequence Gold Specins 7 (PF1 KP3 7 I think),
although I preferto avoid embedding special characters.

Never tried inserting bells, but I know that to get Quick to leave escape
sequences alone (eg to bold certain words in a field), you need
TERM=VT420-ANY
on the command line.

______________________________________________________________________
Chris Sharman			Chris.Sharman@CCAgroup.co.uk
CCA Stationery Ltd, Eastway, Fulwood, Preston, Lancashire, PR2 9WS.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.