HP3000-L Archives

June 2000, 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:
COLE,GLENN (Non-HP-SantaClara,ex2)
Date:
Wed, 7 Jun 2000 09:06:20 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (17 lines)
<long explanation of Cobol's string capabilities :-( snipped>

Thanks Glenn. You've provided a great reminder of why I'm still impressed
with PowerHouse.

define d-last-four char*4 &
  = my-string of my-file &
 if 4 ge size(tru(my-string of my-file)) &
els my-string of my-file &
    [size(tru(my-string of my-file))-3:4]

Now I'd better set my 3000-l options to nomail before the flood of abuse
from Cobol supporters starts :-)

Regards,
JWP

ATOM RSS1 RSS2