From: "Shmuel Metz (Seymour J.)" <[EMAIL PROTECTED]>
   at 07:42 PM, Dave Salt <[EMAIL PROTECTED]> said:

>What about ISPF panel 'logic'; is that a programming language?

No, nor am I convinced that it should be extended enough to become a
language. In particular, I don't currently see the value of iteration
in an ISPF panel, although it's possible that I would if I took a hard
look at it.

There was a discussion on the ISPF listserv just last week about how to remove leading spaces. For example, if the following were entered on a command line:

===> SORT     ADDRESS                            D

The panel can easily parse the command into 3 separate values, but there is no easy way for it to remove the leading spaces from in front of the 'D'. The only way it can be done right now (using pure panel logic) is to keep chopping off one space at a time and checking what's left. As the number of leading spaces is unknown, and panels don't have looping logic, this means writing dozens and dozens of 'truncate/test' lines to ensure however many leading spaces were entered can all be removed. Very ugly, and easily solved if panels had looping logic.

Dave Salt
SimpList(tm) - The easiest, most powerful way to surf a mainframe!
http://www.mackinney.com/products/SIM/simplist.htm

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to