Article View: borland.public.delphi.database
Article #146Re: D5 to D2006 compilation problem
From: kpeng
Date: Mon, 14 Aug 2006 01:13
Date: Mon, 14 Aug 2006 01:13
21 lines
1757 bytes
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
Technical Details
Message-ID:
<1155518028.528244.191870@m79g2000cwm.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!m79g2000cwm.googlegroups.com!not-for-mailReferences:
<vt-dnQvVs-Xm4kbZ4p2dnA@telenor.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 115d96,ce6caec16cea1f95 X-Google-Attributes: gid115d96,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!m79g2000cwm.googlegroups.com!not-for-mail From: "kpeng" <kpeng@compdata.com.au> Newsgroups: borland.public.delphi.database Subject: Re: D5 to D2006 compilation problem Date: 13 Aug 2006 18:13:48 -0700 Organization: http://groups.google.com Lines: 22 Message-ID: <1155518028.528244.191870@m79g2000cwm.googlegroups.com> References: <vt-dnQvVs-Xm4kbZ4p2dnA@telenor.com> NNTP-Posting-Host: 203.51.116.157 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1155518033 14638 127.0.0.1 (14 Aug 2006 01:13:53 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 14 Aug 2006 01:13:53 +0000 (UTC) In-Reply-To: <vt-dnQvVs-Xm4kbZ4p2dnA@telenor.com> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 CTS01 Complaints-To: groups-abuse@google.com Injection-Info: m79g2000cwm.googlegroups.com; posting-host=203.51.116.157; posting-account=BPuZ9Q0AAAAOlVKZwfAXRxUGbdSRZ3dJ