def _extract_vararray_max(tform):
first = tform.find('<STR_LIT:(>')<EOL>last = tform.rfind('<STR_LIT:)>')<EOL>if first == -<NUM_LIT:1> or last == -<NUM_LIT:1>:<EOL><INDENT>return -<NUM_LIT:1><EOL><DEDENT>maxnum = int(tform[first+<NUM_LIT:1>:last])<EOL>return maxnum<EOL>
Extract number from PX(number)