Using CSS Data from Within My Code

Mike Parker aldacron at gmail.com
Thu Sep 12 13:09:16 UTC 2019


On Thursday, 12 September 2019 at 11:40:33 UTC, Ron Tarrant wrote:

> 	string myCSS = "tab { background-color: #f2f2f2; }";
>
>

enum will work just as well here and without the need for the 
variable:

         enum myCSS = "tab { background-color: #f2f2f2; }";

The original error was because q strings have to be valid D, not 
because of the enum.


More information about the Digitalmars-d-learn mailing list