In the course of writing a Rexx exec, I encountered an anomaly. I'd like to
know if it's just me or an actual aberration.

For the first time I used the arithmetic operator % (percent sign in the
US). This operator returns the integer portion of a quotient, as opposed to
// (double slash), which returns the remainder. This line appears to cause
a problem with ISPF highlighting:

s_time = ((h_curr % req_int) * req_int) - req_int

The problem shows up under a specific set of conditions:

1. The Rexx library does not have llq .EXEC. For example, mine is .CLIST
2. The library is RECFM VB
3. The Rexx is numbered.
4. HILITE is set to Automatic.

Under these conditions, the % wreaks havoc on highlighting.

If the library is called .EXEC or is FB, if the member is not numbered
(even in a VB library), or if HILITE is set explicitly to Rexx, then the
problem does not occur.

Am I crazy?

.
.
JO.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler
SHARE MVS Program Co-Manager
626-302-7535 Office
323-715-0595 Mobile
[EMAIL PROTECTED]

----------------------------------------------------------------------
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