Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
为方便起见,我希望能够引用实现为一维数组的静态查找表的元素,如下所示
Item = [1,7,2,5,3](I)
其中 I 是方括号中静态数组的整数索引。我知道我可以声明一个命名数组并使用它,但我想知道是否有适合上述意图的语法。