문제

I want to iterate a map but its giving "unknown identifier referenced in the spl program" on line 2.

logic state: { mutable map<uint32,rstring> ageNameMap ={}; 
               mutable MapIterator it;//2
       }

Any idea how to fix this?

도움이 되었습니까?

해결책

for (unit32 in ageNameMap){

...
}

This resolved my problem.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top