Subject: | |
From: | |
Reply To: | Michael P. Smith |
Date: | Fri, 21 Jun 1996 18:51:09 GMT |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
In article <[log in to unmask]>,
[log in to unmask] (the Greenberg family) wrote:
>I thought I remembered SPL, but line 8 has me stumped
>
>1 LOGICAL PROCEDURE MOVEAS(BARRAY);
>2 BYTE ARRAY BARRAY;
>3 BEGIN
>4 ARRAY DUMMY(0:1);
>5 BYTE ARRAY DUMMYBYTE(*)=DUMMY;
>6 MOVE DUMMY:=" ";
>7 MOVE DUMMYBYTE:=BARRAY,(2);
>8 MOVE DUMMYBYTE:=DUMMYBYTE WHILE AS;
>9 MOVEAS:=DUMMY;
>10 END;
>
Hmmm,
If I remember correctly the WHILE part of move was for
specifying special flags. In this case I believe it means
to move while alphabetic, and possibly (although it doesn't
sound right) upshift characters if necessary.
Sorry, haven't written SPL in about 8 years.
-------------------------------------------------------------------
Michael P. Smith [log in to unmask]
HP Sr. Systems Programmer [log in to unmask]
Hertz Corporation, Oklahoma City, OK
-------------------------------------------------------------------
Manager: My boss says we need some eunuch programmers
Dilbert: I think he means UNIX and I already know UNIX.
Manager: If the company nurse drops by, tell her I said 'Never mind.'
-------------------------------------------------------------------
The views and opinions expressed in this document are expressly
my own. So get off the couch, I obviously need more help than you.
|
|
|