CSS file in procedure

sampath

New Member
I want to write cascading style sheet in a procedure (Progress 9.1D) .

Ex. P { margin-bottom: 0in; direction: ltr; color: #000000; line-height: 120%; widows: 0; orphans: 0 }


Anyone can hep me?:rolleyes::rolleyes::rolleyes::rolleyes:
 
What's you exact problem?

You need to be aware that the curly brackets {} have a special meaning to the compiler. The compiler will always try to replace the contents between them with either the value of a pre-processor directive or the contents of an include file. If it can't you will get a compile time error. Therefore you can't hard code them if they are part of a text - instead you need to use their respective ASCII codes.

Something like this:
MESSAGE CHR(123) + "Your text" + CHR(125)
VIEW-AS ALERT-BOX INFO BUTTONS OK.
Note that the ASCII codes 123 and 125 are valid for the iso8859-1 code page. If you use a different code page they might be at different ASCII codes.

Heavy Regards, RealHeavyDude.
 
if the problem is with te curly brackets then you can also escape these instead of using there ascii values.

Code:
PUT UNFORMATTED '~{  margin-bottom: 0in; direction: ltr; color: #000000; line-height: 120%; widows: 0; orphans: 0 ~}' SKIP.
 
Back
Top