BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

D5 to D2006 compilation problem

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases
View previous topic :: View next topic  
Author Message
Anders Ekeland
Guest





PostPosted: Thu Aug 10, 2006 11:48 pm    Post subject: D5 to D2006 compilation problem Reply with 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
kpeng
Guest





PostPosted: Mon Aug 14, 2006 6:13 am    Post subject: Re: D5 to D2006 compilation problem Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.