夏天鼻塞打喷嚏流鼻涕:自定义PB函数checkpart,用于IP地址编辑框,过来看一下

来源:百度文库 编辑:杭州交通信息网 时间:2024/05/02 06:44:21
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