HP3000-L Archives

June 2008, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Pickering, John (NORBORD)" <[log in to unmask]>
Reply To:
Pickering, John (NORBORD)
Date:
Thu, 5 Jun 2008 15:42:09 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (56 lines)
This implies a big endian environment such as MPE or HPUX. If you're
using something else (e.g. x86) then the tab character will be in the
first byte of the integer as in:

define ctab char*1 = char(itab)[1:1]

JWP

-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On
Behalf Of Daniel Horgan
Sent: Thursday, June 05, 2008 3:26 PM
To: [log in to unmask]
Subject: Re: [HP3000-L] Quiz problem

DEFINE ITAB INTEGER SIZE 2 = 09
DEFINE CTAB CHARACTER*1 = CHARACTERS(ITAB)[2:1]

Dan Horgan
Sr Software Engineer
Infor

(508) 598-4062
[log in to unmask]
 

-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On
Behalf Of Fred W. Gremlich
Sent: Thursday, June 05, 2008 3:22 PM
To: [log in to unmask]
Subject: [HP3000-L] Quiz problem

I'm modifying a quiz program that needs to insert a "tab" as in "tab
delimited" character between data fields in a Report statement. How do I
define a one character field that has the value of "tab"?

 

Thanks,

 

Fred Gremlich

Primary Health Inc

Sr. Programmer/Analyst

office (208) 333-1570

[log in to unmask]

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2