⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 9.5.4.htm

📁 This ECMA Standard specifies the form and establishes the interpretation of programs written in the
💻 HTM
📖 第 1 页 / 共 2 页
字号:
   }  
}  
</pre></span></span><span class="paragraph"><span class="example">Note, however, that pre-processing directives are required to be lexically correct even in skipped sections of source code. </span></span><span class="paragraph"><span class="example">Pre-processing directives are not processed when they appear inside multi-line input elements. For example, the program: <pre class="code-example">
class Hello  
{  
   static void Main() {  
      System.Console.WriteLine(@"hello,   
      #if Debug  
      world  
      #else  
      Nebraska  
      #endif  
      ");  
   }  
}  
</pre>results in the output: <pre class="code-example">
hello,  
#if Debug  
world  
#else  
Nebraska  
#endif  
</pre></span></span><span class="paragraph"><span class="example">In peculiar cases, the set of pre-processing directives that is processed might depend on the evaluation of the <span class="non-terminal"><a href="9.5.2.htm#pp-expression">pp-expression</a></span>. The example: <pre class="code-example">
#if X  
/*   
#else  
/* */ class Q { }  
#endif   
</pre>always produces the same token stream (class Q <span class="symbol">{</span> <span class="symbol">}</span>), regardless of whether or not X is defined. If X is defined, the only processed directives are <span class="symbol">#if</span> and <span class="symbol">#endif</span>, due to the multi-line comment. If X is undefined, then three directives (<span class="symbol">#if</span>, <span class="symbol">#else</span>, <span class="symbol">#endif</span>) are part of the directive set. end example]</span> </span><span class="ruler"></span><table><tr><td><table align="left" bgcolor="navy"><tr bgcolor="navy"><td><font face="Arial,sans-serif" size="6" color="yellow"><strong>{ JSL }</strong></font></td></tr></table></td></tr><tr><td><font face="Arial,sans-serif" size="2" color="navy"><strong>Jagger Software Ltd</strong></font></td></tr><tr><td><font face="Arial,sans-serif" size="2" color="navy"><strong>Company # 4070126</strong></font></td></tr><tr><td><font face="Arial,sans-serif" size="2" color="navy"><strong>VAT # 762 5213 42</strong></font></td></tr></table><img src="valid-html401.png" align="left" height="31" width="88" alt="Valid HTML 4.01" /><img src="vcss.gif" align="left" height="31" width="88" alt="Valid CSS" /></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -