为内置函数调用智能感知的过程

为内置函数调用智能感知的过程如下:
•首先,定义计算的LHS;
•在公式RHS项的合适位置输入“@”。内置函数列表将如截图上所示。该列表可以通过使用智能感知进行进一步过滤。例如,输入“@A”后,列表中将仅显示以“A”为起始的内置函数。


为内置函数调用智能感知的过程_第1张图片

•点击或按回车键选择列表中的一个函数。内置功能和所需参数的列表被定位在光标的位置。例如,假设选中了内置函数‘And(X;Y)’。下面的截图显示了编辑框中的条目。

为内置函数调用智能感知的过程_第2张图片

注意上述截图中内置函数“And”输入的是‘And(X;Y)’。这意味着内置函数‘And’需要两个参数X和Y,并且其以分号隔开。X和Y参数必须以constants或Tag.Type.Attributes来代替。为对Tag.Type.Attribute内置函数调用智能感知功能,其与先前描述的针对Tag.Type.Attribute方法是完全一样的。下面为总结步骤截图。

为内置函数调用智能感知的过程_第3张图片
为内置函数调用智能感知的过程_第4张图片

原文:
The procedure for invoking IntelliSense for built-in functions is the following:
• First, define the LHS of the calculation.
• At the appropriate location on the RHS of the formula, enter ‘@’. A list of built-in functions is displayed as shown in the screenshot above. The list may be filtered further through the use of IntelliSense. For instance, entering ‘@A’ reduces the displayed list to those built-in functions that begin with an ‘A’.
• Click or press enter to select a function in the list. The built-in function and the list of required arguments are positioned at the location of the cursor. As an example, suppose the built-in function ‘And(X;Y)’ is selected. The following screenshot depicts the entry in the edit box.
Notice in the screenshot above that the built-in function ‘And’ is entered as ‘And(X;Y)’. This entry indicates that the built-in function ‘And’ requires two arguments X and Y separated by a semicolon. The arguments X and Y need to be replaced by either constants or Tag.Type.Attributes. To invoke IntelliSense for Tag.Type.Attribute inside functions, the procedure is identical to the one described previously for Tag.Type.Attribute. The following screenshots summarize the steps.


2016.4.25

你可能感兴趣的:(为内置函数调用智能感知的过程)