🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.database
2 messages
2 total messages Started by Anders Ekeland Thu, 10 Aug 2006 18:48
D5 to D2006 compilation problem
#144
Author: Anders Ekeland
Date: Thu, 10 Aug 2006 18:48
19 lines
1748 bytes
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 
Re: D5 to D2006 compilation problem
#146
Author: kpeng
Date: Mon, 14 Aug 2006 01:13
21 lines
1757 bytes
put Variants in ur Uses
Anders Ekeland wrote:
> 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads