湖北卫视在线播中:自定义PB函数checkpart,用于IP地址编辑框,过来看一下

来源:百度文库 编辑:神马品牌网 时间:2024/04/28 16:11:12
integer ret
setnull (ret)
if is null (string part) then return ret
if not is number(part) then return -1
if integet (part)<0 then return -1
if integet (part)>255 then return -1
return 1然后提示error c0031 syntax error
error c0003 condition for if statement must be a blooean
error c0003 condition for if statement must be a blooean
error c0003 condition for if statement must be a blooean
error c0003 condition for if statement must be a blooean