Focal Point
[CLOSED] stylesheet line continuation

This topic can be found at:
http://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3191031022

March 26, 2007, 02:18 PM
Jason K.
[CLOSED] stylesheet line continuation
I'm trying to make my stylesheet more readable.

Is there a way to continue lines on the next line within my .fex and not get an error? example code (this works fine, but is hard to read)
TYPE=DATA,DRILLMENUITEM='Show Monthly Breakout', FOCEXEC=app/wcqrgj18.fex(REP_GRP_CHRONO='BYMONTH' BEGIN_MONTH=&BEGIN_MONTH END_MONTH=&END_MONTH ), TARGET='_self',$

It's one line in my fex, here is comes across differently.

I would like to allow the name/value pairs to be on seperate lines, like this:
(REP_GRP_CHRONO='BYMONTH'
BEGIN_MONTH=&BEGIN_MONTH
END_MONTH=&END_MONTH ),

Any ideas? Like a line continuation character?

This message has been edited. Last edited by: Kerry,


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
March 26, 2007, 02:30 PM
Tom Flynn
quote:
REP_GRP_CHRONO='BYMONTH'
BEGIN_MONTH=&BEGIN_MONTH
END_MONTH=&END_MONTH ),


REP_GRP_CHRONO='BYMONTH' \
BEGIN_MONTH=&BEGIN_MONTH \
END_MONTH=&END_MONTH ),


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
March 26, 2007, 02:35 PM
Jason K.
10x!
thanks mate.


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
March 26, 2007, 03:13 PM
mgrackin
Jason,

Just so you know, you can put the entire line of code on one line. WebFOCUS does not restrict lines of code to 80 characters anymore.


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
May 30, 2008, 11:03 AM
Doug
Keep in mind that there MAY be an 80 character line length limit IF you're on a mainframe with a the members defined as FIXED BLOCK LRECL 80. If so, Dev Studio will allow you to enter lines GT 80 characters and will notify you IF there is such a line. However, you may, as I do here, lose anything past the offending line IF you exit and save. The error message comes up after the exit is performed and the only lines that are saved are those before it.




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
May 30, 2008, 11:38 AM
Prarie
Doug...that's quite a license plate Smiler


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
Mickey

the case was readability of the code, very long code lines will work, but make it difficult to read.
An other problem is the GUI.
If you make your code readable and add comment, it is all removed or changed when you open the code in the GUI.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

Thanks Prarie. It was a Great Hit at Summit 09... Gerry even liked it. It cathes a lot of attention, even when it's interpreted as 'WE B FOCUS'... That covers Core FOCUS as well.