Replies: 2 comments 12 replies
-
@Sairam002 |
Beta Was this translation helpful? Give feedback.
11 replies
-
You are trying to return multiple values in a function and that is a bit complicated. Hope this helps :) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey @PatrickAlphaC ,
I'm trying to get the value of
addPerson
function which is inSimpleStorage.sol
fromStorageFactory.sol
.Code :-
SimpleStorage.sol :-
StorageFactory :-
Error in
StorageFactory.sol
:-Error :-
DeclarationError: Identifier not found or not unique.
--> StorageFactory.sol
function getPerson(uint _SimpleStorageIndex) view public returns(People[]){
Can you help me why I'm getting error???
Beta Was this translation helpful? Give feedback.
All reactions