Function return value #674
Unanswered
HungMingWu
asked this question in
Q&A
Replies: 1 comment
|
You should be able to look in the parent subroutine to find its |
0 replies
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.
According stackoverflow
The following cases should identical.
class Packet; integer status; function current_status; current_status = status; endfunction endclassand
class Packet; integer status; function current_status; return status; endfunction endclassI met some issue.
Here is my code.
I found
current_statusVariableSymbol fromcurrent_statusSubroutineSymbolBut I hope to know whether
current_statusis a function fromValueExpressionBaseAny suggestion welcome.
All reactions