Since setting hilite explicitly to REXX eliminates the problem, it would seem that automatic is not setting itself to REXX. Since unnumbered and FB don't have the problem but numbered VB does, one possibility is the line number (which in this specific case is prior to the /*REXX*/) is confusing hilite as it tries to determine the correct style. In the same vein, when the library LLQ is EXEC hilite has enough "additional" information to figure out that this should be REXX.
The more interesting question (at least to me) is which hilite option would find the percent so significant that havoc ensues. I frequently work in languages hilite doesn't know about but I've never seen it go berserk. -----Original Message----- From: Skip Robinson [mailto:snip] Sent: Tuesday, February 12, 2008 11:07 AM To: [email protected] Subject: Rexx HILITE issue: am I crazy? 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 ---------------------------------------------------------------------- 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

