When I am trying to change the Struct variable S using Storage. It's not working. Can anyone guide me what to do

Dec 3, 2022, 8:12 AM
show the code
step 1. take a screenshot
Dec 3, 2022, 8:24 AM
Dec 3, 2022, 8:30 AM
ok so
what are you trying to do
Dec 3, 2022, 8:43 AM
Are you trying to delete employees contract address account? Your code looks more like c#
Dec 3, 2022, 11:06 AM
https://vxtwitter.com/0xholypanda/status/1598754870122643480?t=GQKr18apdxU7r6lQUP7i-w&s=19
Dec 3, 2022, 11:46 AM
Remove the brackets bro. Except you want to create an array of each Emp type. If so you’re parsing it wrongly
If you want to know how to use Structs properly, you can read my article:
https://code.pieces.app/blog/understanding-structs-and-enums-in-solidity
Dec 3, 2022, 4:56 PM

© 2024 Draquery.com All rights reserved.