However, I read in the docs:
I have a problem with this rule. My function is large. It has many return points.Rules of markers usage
for C and C++ users: the return; keyword can't be placed inside the marker.
Such as:
Code: Select all
if(!condition1) {
return 0;
}
else if(!condition2) {
return 0;
}
etc...
Splitting it up would be messy and cumbersome. Why can't markers handle "return"?
Will my program crash if I do a "return 0" inside a marked section?