unit Unit1;
{$DEFINE _Full}
// {$DEFINE _Trial}
interface
uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms;
{$ifdef _Trial}
_programname='abc';
{$endif}
{$ifdef _Full}
_programname='abc';
{$endif}
전에 잘 작동하지만 오늘은 델파이를 실행하고 컴파일을 시도하지 않습니다, 그것은
{$DEFINE _Full}
과 같은
Identifier redeclared: '_programname'
을보고
이 작동하지 않습니다.
귀하의 의견 환영
프로젝트 빌드 구성에'_Trial'이 정의되어 있지 않습니까? 어쨌든'{$ ELSE}'를 쓰지 않으시겠습니까? – TLama
_Trial이 정의되지 않았고 _Full이 정의되었습니다 – arachide
왜 많은 버전 태그를 사용 했습니까? 그게 무슨 뜻이야? –