简体   繁体   English

通过索引稳固性访问数组结构

[英]access array struct by index solidity

I would access the struct array by index in the following require statement but i have the error enter image description here我将在下面的 require 语句中按索引访问结构数组,但在此处输入图像描述时出现错误

in the require you are assigning non comparing, try using == instead of =在您分配非比较的要求中,尝试使用 == 而不是 =

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM