我在编译是出现:
[Error] ViewUnit.pas(484): Undeclared identifier: 'vararrayof'
[Error] ViewUnit.pas(484): Ordinal type required
[Error] ViewUnit.pas(484): Incompatible types: 'Integer' and 'TCaption'
[Fatal Error] MAINUNIT.pas(225): Could not compile used          unit 'ViewUnit.pas'。出错语句是:
if not(datat.table1.Locate('code;riqi',vararrayof([datat.table4.FieldByName('code').AsString,combobox2.Text]),[])) then
请指教!!!