Confirmed, including the difference between HILITE REXX and HILITE AUTO. Everything following the % character that is not inside quotes is changed to blue, inside quotes stays bright white as in normal hilite mode.
Looks to me like the HILITE AUTO scan mode doesn't account for the 8-digit line number very well. Notice that with HILITE AUTO, leading keywords in column 9 are NOT highlighted, while with HILITE REXX they *are* highlighted. z/OS 1.8 here. Peter > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On > Behalf Of Skip Robinson > Sent: Tuesday, February 12, 2008 2:07 PM > 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? This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ---------------------------------------------------------------------- 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

