Q&A

  • [초질문]에러좀 봐주세요..
type

TForm1 = class(TForm)

Timer1: TTimer;

TmpPos : Tpoint;

LogIn : TextFile;

Path : String; -> 여기서 에러 메세지 띄우네요..

CheckTime : String; - Expected an identifier but STRING found

LogOut : String;

LogDate : String;

CheckName : integer;

CheckId : integer;

CheckId2 : integer;

Rect : TRect;

hTaskBar : integer;

CheckKey : String;



Expected an identifier but STRING found 이게 뭐예여...





1  COMMENTS
  • Profile
    aparadin 2001.07.01 03:59
    초보 wrote:

    > type

    > TForm1 = class(TForm)

    > Timer1: TTimer;

    > TmpPos : Tpoint;

    > LogIn : TextFile;

    > Path : String; -> 여기서 에러 메세지 띄우네요..

    > CheckTime : String; - Expected an identifier but STRING found

    > LogOut : String;

    > LogDate : String;

    > CheckName : integer;

    > CheckId : integer;

    > CheckId2 : integer;

    > Rect : TRect;

    > hTaskBar : integer;

    > CheckKey : String;

    >

    > Expected an identifier but STRING found 이게 뭐예여...

    ///////////////////////////////////////////////////////////

    집합형 Type에는 동일한 자료형의 원소들로 구성되어있슴다

    자세한건 책을 ^^



    만약 집합형이 아닌 변수를 선언하려면 Var 로 선언하십시오

    가령 Timer1: TTimer; 같은 경우라면 타이머라는 집합의 변수를 선언하는겁니다.

    맞죠? 타이머 안에는 여러가지 프로퍼티와 변수들이 모여있잖아요?

    >