HP3000-L Archives

June 2002, Week 4

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:
Roy Brown <[log in to unmask]>
Reply To:
Roy Brown <[log in to unmask]>
Date:
Wed, 26 Jun 2002 21:43:13 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (21 lines)
In message <[log in to unmask]>, Arthur Frank
<[log in to unmask]> writes
>Hello,
>
>Is there an easy way, in COBOL, to determine if the 1st character of a
>string is not a letter (A-Z)?  I see how to do it "brute force", but I
>was hoping for something a little more elegant.
>
>I apologize for the newbie question, but my COBOL skills were never
>strong and they're rusty besides...

IF STRING (1:1) NOT ALPHABETIC

I think....
--
Roy Brown        'Have nothing in your houses that you do not know to be
Kelmscott Ltd     useful, or believe to be beautiful'  William Morris

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

ATOM RSS1 RSS2