Focal Point
Weird behavior!!!

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

September 15, 2004, 08:59 PM
FliPPeR
Weird behavior!!!
When you have a COMMENT line containing dashes and the WORD 'ENDREPORT':

Ex: -*-----------------------------------ENDREPORT

Anywhere in the procedure, it will cause the code to dissapear when you Edit as text.

Try it! Eeker

Copy this code into a test procedure, save it and open it as text: blank!! If you look into the file directly on the server, the code is still in. Remove the ENDREPORT word or the entire commented line and your code will appear again.

TABLE FILE CAR
PRINT *
END
-*-----------------------------------ENDREPORT
TABLE FILE EMPDATA
PRINT *
END

It took me hours to find out what hapenned to my code...

Isn't a commented line supposed to be ignored??? Confused
September 15, 2004, 09:02 PM
susannah
must be a Dev Studio thing.
has no effect on MRE 525. hmmm
September 16, 2004, 03:50 PM
TexasStingray
Works OK in 526 Razzer
September 16, 2004, 03:55 PM
<Vipul>
Works ok in 523
September 20, 2004, 05:29 PM
Denver RSE
I am using 526 and, try as I might, could not get the code to disappear.

I could open it in the editor as well as the Report Painter.