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.
我正在尝试制作 CAPL 关联数组,它可以为每个 ID 保存例如 10 条最新的 CAN 消息,如下所示:
message[10] messages[long]
是否有可能在 CAPL 中创建关联数组,其中键是一些整数类型值,值是消息数组?
数据类型message是对象。由于只有“简单数据类型”是可能的,因此您不能声明message具有关联字段的变量。
message