parsing a line into stem



IBM's Command List programming language & Restructured Extended Executor

Re: parsing a line into stem

Postby willy jensen » Wed Feb 15, 2023 8:27 pm

Right, I must remember never to answer before my 2nd cup of coffee ;)
willy jensen
 
Posts: 455
Joined: Thu Mar 10, 2016 5:03 pm
Has thanked: 0 time
Been thanked: 69 times

Re: parsing a line into stem

Postby Pedro » Thu Feb 16, 2023 7:10 am

re: "The part I was missing (And didn't know existed) was WORD"

In the statement that I think you refer to, WORD is being used as an arbitrary variable name rather than as a keyword. And I dislike the use of a function name ( WORD() ) as a variable name ( WORD ). Rexx allows it, but it could be confusing for the new reader.
Pedro Vera
User avatar
Pedro
 
Posts: 684
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Previous

Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post