HP3000-L Archives

May 2008, Week 5

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:
Duane Percox <[log in to unmask]>
Reply To:
Duane Percox <[log in to unmask]>
Date:
Fri, 30 May 2008 10:54:20 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (19 lines)
Question posed:

>In a COBOL program, if I have this line:
>     compute var = function ord(<certain char>) - 161
>what does it actually compute?
>
>Also, if you happen to know too. Given that's how to compute
>a certain character (above equation), would you know the
>range of integer of control characters? Or even just the
>ordinal position of all control characters [function ord()]?

I hate to be so bold, but you should just read the cobol documentation
found online at docs.hp.com. All will be revealed.

duane

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

ATOM RSS1 RSS2