 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Anders Ekeland Guest
|
Posted: Thu Aug 10, 2006 11:48 pm Post subject: D5 to D2006 compilation problem |
|
|
When I compile an D5 project with D2006 I get an error
[Pascal Error] Kryss00.pas(516): E2003 Undeclared identifier: 'vararrayof'
the actual code looks like this:
if flytt.locate('Orgnr_b', vararrayof([motorg]),[loCaseInsensitive]) then
begin
this locate procedure is part of DBTables unit, the TTable type.
As I understand the manuals, this should still be legal code, so what is
happing.
All hints are welcome.
Regards
Anders Ekeland
Norway |
|
| Back to top |
|
 |
kpeng Guest
|
Posted: Mon Aug 14, 2006 6:13 am Post subject: Re: D5 to D2006 compilation problem |
|
|
put Variants in ur Uses
Anders Ekeland wrote:
| Quote: | When I compile an D5 project with D2006 I get an error
[Pascal Error] Kryss00.pas(516): E2003 Undeclared identifier: 'vararrayof'
the actual code looks like this:
if flytt.locate('Orgnr_b', vararrayof([motorg]),[loCaseInsensitive]) then
begin
this locate procedure is part of DBTables unit, the TTable type.
As I understand the manuals, this should still be legal code, so what is
happing.
All hints are welcome.
Regards
Anders Ekeland
Norway |
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|