淘宝官方店 推荐课程 在线工具 联系方式 关于我们 | |
微波射频仿真设计 Ansoft Designer 中文培训教程 | HFSS视频培训教程套装 |
|
首页 >> Ansoft Designer >> Ansoft Designer在线帮助文档 |
Designer File Formats > CommentsA comment is text that is not part of any statement.
A semicolon (;) anywhere outside of quotes makes the rest of the line a comment. ; This is a comment M1 1 2 3 4 model_1; This is a comment
A line that begins with an asterisk (*), a dollar sign ($), or a double slash (//) is treated as a comment and is not interpreted. * This is a comment // This is a comment
Characters in a line become comments when they follow an asterisk (*), a dollar sign ($), or a double slash (//) that is both outside of quotes and directly preceded by one or more blanks or tabs (“whitespace”). M2 5 6 7 8 model_1 $ This is a comment M3 9 10 11 12 model_1 * This is a comment M4 13 14 15 16 model_1 // This is a comment
Characters in a comment are not interpreted in any way. A single or double backslash (\ or \\) in a comment is not interpreted as a continuation character. Also, a plus sign (+) at the beginning of a continuation line does not continue a comment from the previous line, but instead continues the interpreted statement from the previous line. To continue a comment, the netlist must use one of the comment characters on the continuation line. Here are some examples.
The next two examples of device instance statements show invalid uses of continuation characters for a comment. The second line in each example causes a syntax error. V1 1 2 0.5V ; This is an \\ V2 3 4 1.5V ; This is another
The simplest way to continue a comment is just to begin the next line with a comment character: V1 1 2 0.5V ; This is one way
You can also continue the command itself, then add the rest of the comment: V2 3 4 // This is another HFSS视频教程 ADS视频教程 CST视频教程 Ansoft Designer 中文教程 |
Copyright © 2006 - 2013 微波EDA网, All Rights Reserved 业务联系:mweda@163.com |