PCC的数组边界检查存在着由于无法确定数组下标表达式符号值的范围,而造成拒绝执行一些安全的移动代码等问题。
Some of the safe mobile codes may be rejected to execute, since there is no way to verify statically that the symbol range value of an array subscript expression in PCC.
对嵌套表达式求值的结果将被作为下标或键,用来检索集合或数组的适当元素。
The result of evaluating the nested expression will serve as the index or key for retrieving the appropriate element of the collection or array.
在这里形式语法的说明中有点含糊:任何看起来像表达式列表的结构也可以看作是片断列表,所以任何下标都可以解释为片断。
There is ambiguity in the formal syntax here: anything that looks like an expression list also looks like a slice list, so any subscription can be interpreted as a slicing.
应用推荐