请问该语句错在那里?应该怎么写?
if locate('name',vararrayof([edit1.text]),[]) then//在运行的时候就出错!
可是我在别的程序中用下列语句可以正常运行!
if locate('name;number',vararrayof([edit1.text,exit2.text]),[])then请问是什么愿意?是参数的问题吗?
if locate('name',vararrayof([edit1.text]),[]) then//在运行的时候就出错!
可是我在别的程序中用下列语句可以正常运行!
if locate('name;number',vararrayof([edit1.text,exit2.text]),[])then请问是什么愿意?是参数的问题吗?
locate('name',edit1.text,[])就可以了