Line 213: | Line 213: | ||
// The function judging whether the argument is in bound | // The function judging whether the argument is in bound | ||
function inBound(arg){ | function inBound(arg){ | ||
− | + | iif(arg >= 0){ | |
+ | if(arg < member_num){ | ||
+ | return true; | ||
+ | } | ||
+ | } | ||
+ | return false; | ||
} | } | ||
Revision as of 08:33, 16 August 2016