Return
return statement represents return from function.
The expression after return keyword is the return value of the function.
module ModuleA {
function FunctionA () -> u32 {
return 0;
}
}
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
return statement represents return from function.
The expression after return keyword is the return value of the function.
module ModuleA {
function FunctionA () -> u32 {
return 0;
}
}