HP3000-L Archives

November 2000, Week 3

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:
Glenn Koster <[log in to unmask]>
Reply To:
Glenn Koster <[log in to unmask]>
Date:
Thu, 16 Nov 2000 13:53:49 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (24 lines)
Tracy wrote:

> > 1. Does hp cobol compiler know about hexa literals? For example MF
> > recognize
> > X"4142" ("AB") .
> I believe NOT, but it does like octal.  "AB" is %40502.
> <free Bob Green plug>
> Qedit is your tool of choice, it will give you these easily via
> /="AB",%
> result=%040502
> /=$4142,%
> result=%04052

<Free MPE plug>

:CALC $4142
16706, $4142, %40502
:
< end plug >

Glenn Koster
Quintessential School Systems
Developers of QWEBS (qwebs.qss.com)

ATOM RSS1 RSS2