창조유저그룹-커즈닷컴
Window close
ID :     PASS :   
   
  처음으로
  창조
  창조 소개
창조 다운로드
CUGz.com 소개
온라인 도움말
  커뮤니티
  가입인사
자유게시판
Q/A게시판
TIP/TECH
열린강좌
자주하는질문
아이디어게시판
  자료실
  소스자료실
프로그램자료실
기타자료실
명예의 전당
이미지 자료실
  지원/기타
  표준용어재정
구글 웹서치  
관리자 전용


LIST ALL
Posted by ps.이진백2004-05-19 13:15:16, Hit : 20966
[강좌#7] 창조 오류 해부 2탄 (일부작성중)
Post URL : http://cugz.sjworks.net/bbs/zboard.php?id=open_lec&no=38
델파이와 관련지어 생각해보는 창조의 문법 오류입니다.
창조는 파스칼 컴파일러를 지니므로 다음 오류와 일맥상통합니다.
지금 일부 작성하고 있습니다. 힘들어서 쉬렵니다.

출처: 델파이 도움말
---------델파이 에러--------------|------------창조 에러------------------------
Undeclared identifier: '<element>' - 알려지지 않은 명령어(변수)입니다.
  선언되지 않은 문자를 사용했을때 발생한다.
  변수가 제대로 선언되었는지, 없는 객체이름을 사용했는지 확인해본다.
  또는, 오타가 있나 확인한다.

Identifier redeclared: '<element>' - 이미 정의된 변수등을 재정의 하셨습니다.
  초보자가 흔히 복사 붙여넣기 신공하다가 발생한다.
  초기화 명령어에서 정의한것을 잊고 지역 명령어에서 다시 정의한다든지,
  같은 명령어 내에서 정의된 변수가 또 선언된게 아닌지 확인한다.
  발견되면, 둘 중 하나를 다른 이름으로 한다.
  다음은 잘못된 경우의 예이다.

   program Tests;
   var
     Tests: Integer;
   begin
   end.

   실수: 테스트;
   실수: 테스트;
  
Incompatible types: '<element>' and '<element>' - 좌변과 우변의 자료형이 틀립니다.
  (참고로 다릅니다가 옳습니다)
  실수에 문자를 대입하거나 진리에 문자를 대입하거나 문자에 실수를 대입하는 등의 실수다.
  이 경우는 형을 변환하는 명령어를 써야 한다.
  수를문, 문을수가 그 명령어이며 진리형은 조건문을 통해 직접 참 또는 거짓이라 매겨야 한다.

Statement expected, but expression of type '<element>' found - ':='가 요구됩니다
  변수에 대입이 필요하지만 어디에 대입할지 명시하지 않았다.
  아니면, 대입하는 기호가 틀렸다.
  대입시에는 := 기호만 써야한다.

; expected but <element> found ┬ ';'이 요구됩니다
Missing operator or semicolon   ┴ 연산에러가 발생하였습니다.
  (참고: 두가지는 서로 연관됩니다)
  1. 당신의 사소한 실수다. 얼른 명령어 끝에 ; (세미콜론)을 붙이도록.
  2. + - * / 등의 기호를 빼먹은 경우다. 적당한 위치에 연산기호를 넣는다.

Too many actual parameters
Not enough actual parameters
Missing parameter type - 인자를 잘못사용하셨습니다.
  1, 2.인자의 개수를 맞추지 못하였다. 기본 명령어는 도움말을 보고 인자의 개수가 같은지 비교한다.
  사용자함수일 경우 해당 함수 부분의 인자의 개수를 비교해본다.
  3. 함수 선언 중 변수 종류가 선언되지 않았다.

Could not create output file '<element>' - 에러 메시지: Could not create output file '실행파일명'
  컴파일시에 가끔 뜬다. 주저하지 말고 다시 해본다.
  안된다면 프로세스로 찾아 끈다.
그래도 안되면 창조를 재시작하고 최후의 수단은 컴터 껐다 켠다.

Unterminated string - 문자열 구분표시 '"'가 요구됩니다.
  저런 또 실수 하셨군. " 로 열었으면 사용하고 또다시 " 를 써서 따옴표를 닫도록.

Left side cannot be assigned to - 좌변의 값에 우변의 값을 할당할 수 없습니다
  오른쪽 값을 왼쪽 변수에 할당할 수 없다. 형태가 같은지 확인한다.
  아니면 나도 모르는 무슨 문제가 있다.  

Number of elements differs from declaration ┬ ','를 필요로 합니다.
                                                                ├ 자료형이 서로 다릅니다.
                                                                └ 변수선언이 잘못 되었씁니다.
  세가지 오류가 연달아 난다.
  배열같은 변수 선언시 초기값을 넣을 수 있는데, 배열 수와 초기 수 개수가 맞지 않는다.
  배열의 중요 실수 중 하나다.

   실수: 배열이지롱[4] = (15,18,13,16,19);

  
Division by zero - 런타임 오류
  0 으로 나누는 실수를 범하셨습니다.

Class already has a default property
Default property must be an array property

TYPEINFO standard function expects a type identifier
Type '<element>' has no type info
FOR or WHILE loop executes zero times - deleted
No definition for abstract method '<element>' allowed
Method '<element>' not found in base class
Invalid message parameter list
Illegal message method index
Duplicate message method index

Bad file format: '<element>'
Inaccessible value
Destination cannot be assigned to
Expression has no value
Destination is inaccessible
Re-raising an exception only allowed in exception handler
Default values must be of ordinal, pointer or small set type
Property '<element>' does not exist in base class

Dynamic method or message handler not allowed here
Class does not have a default property
Bad argument type in variable type array constructor
Could not load RLINK32.DLL
Wrong or corrupted version of RLINK32.DLL
';' not allowed before 'ELSE'
Type '<element>' needs finalization - not allowed in variant record

Type '<element>' needs finalization - not allowed in file type
Expression too complicated
Element 0 inaccessible - use 'Length' or 'SetLength'
<element> unit out of date or corrupted: missing '<element>'
Type not allowed in OLE Automation call
Linker error: <element>
<element>: <element>
Too many conditional symbols

Variable '<element>' is declared but never used in '<element>'
Compile terminated by user
Unnamed arguments must precede named arguments in OLE Automation call
Abstract methods must be virtual or dynamic
Field or method identifier expected
Field definition not allowed after methods or properties
Cannot override a static method

Variable '<element>' inaccessible here due to optimization
Necessary library helper function was eliminated by linker (<element>)
Missing or invalid conditional symbol in '$<element>' directive
'<element>' not previously declared as a PROPERTY
Field definition not allowed in OLE automation section
Illegal type in OLE automation section: '<element>'

Constructors and destructors not allowed in OLE automation section
Dynamic methods and message handlers not allowed in OLE automation section
Only register calling convention allowed in OLE automation section
Dispid '<name>' already used by '<element>'
Redeclaration of property not allowed in OLE automation section
'<element>' clause not allowed in OLE automation section

Dispid clause only allowed in OLE automation section
Type '<element>' must be a class to have an AUTOMATED section
Type '<element>' must be a class to have a PUBLISHED section
Overriding automated virtual method '<element>' cannot specify a dispid
Published Real property '<element>' must be Single, Real, Double or Extended
Size of published set '<element>' is >4 bytes

Published property '<element>' cannot be of type <element>
Thread local variables cannot be local to a function
Thread local variables cannot be ABSOLUTE
EXPORTS allowed only at global scope
Constants cannot be used as open array arguments
Slice standard function only allowed as open array argument
Cannot initialize thread local variables

Cannot initialize local variables
Cannot initialize multiple variables
Constant object cannot be passed as var parameter
HIGH cannot be applied to a long string
Packages '<element>' and '<element>' both contain unit '<element>'
Package '<element>' already contains unit '<element>'
Need imported data reference ($G) to access '<element>' from unit '<element>'

Required package '<element>' not found
$WEAKPACKAGEUNIT '<element>' contains global data
Improper GUID syntax
Interface type required
Property overrides not allowed in interface type
'<element>' clause not allowed in interface type
Interface '<element>' already implemented by '<element>'
Field declarations not allowed in interface type

'<element>' directive not allowed in in interface type
Declaration of '<element>' differs from declaration in interface '<element>'
Package unit '<element>' cannot appear in contains or uses clauses
Bad packaged unit format: <element>.<element>
Package '<element>' is recursively required
16-Bit segment encountered in object file '<element>'

Can't handle section '<element>' in object file '<element>'
Published field '<element>' not a class nor interface type
Private symbol '<element>' declared but never used
Could not compile package '<element>'
Never-build package '<element>' requires always-build package '<element>'
$WEAKPACKAGEUNIT '<element>' cannot have initialization or finalization code

$WEAKPACKAGEUNIT & $DENYPACKAGEUNIT both specified
$DENYPACKAGEUNIT '<element>' cannot be put into a package
$DESIGNONLY and $RUNONLY only allowed in package unit
Never-build package '<element>' must be recompiled
Compilation terminated; too many errors
Imagebase is too high - program exceeds 2 GB limit
A dispinterface type cannot have an ancestor interface

A dispinterface type requires an interface identification
Methods of dispinterface types cannot specify directives
'<element>' directive not allowed in dispinterface type
Interface '<element>' has no interface identification
Property '<element>' inaccessible here
Getter or setter for property '<element>' cannot be found
Package '<element>' does not use or export '<element>.<element>'

Constructors and destructors must have register calling convention
Parameter '<element>' not allowed here due to default value
Default value required for '<element>'
Default parameter '<element>' must be by-value or const
$EXTERNALSYM and $NODEFINE not allowed for '<element>'; only global symbols
C++ obj files must be generated (-jp)

'<element>' is not the name of a unit
Expression needs no Initialize/Finalize
Pointer expression needs no Initialize/Finalize - need ^ operator?
Recursive include file <element>
Need to specify at least one dimension for SetLength of dynamic array
Cannot take the address when compiling to byte code
Cannot use old style object types when compiling to byte code

Cannot use absolute variables when compiling to byte code
There is no overloaded version of '<element>' that can be called with these arguments
Ambiguous overloaded call to '<element>'
Method '<element>' with identical parameters exists already
Ancestor type '<element>' does not have default constructor
Overloaded procedure '<element>' must be marked with the 'overload' directive

Class methods not allowed as property getters or setters
New not supported for dynamic arrays - use SetLength
Dispose not supported (nor necessary) for dynamic arrays
Duplicate implements clause for interface '<element>'
Implements clause only allowed within class types
Implements clause only allowed for properties of class or interface type

Implements clause not allowed together with index clause
Implements clause only allowed for readable property
Implements getter must be register calling convention
Implements getter cannot be dynamic or message method
Cannot have method resolutions for interface '<element>'
Interface '<element>' not mentioned in interface list
Only one of a set of overloaded methods can be published

Previous declaration of '<element>' was not marked with the 'overload' directive
Parameters of this type cannot have default values
Overriding virtual method '<element>.<element>' has lower visibility (<element>) than base class '<element>' (<element>)
Published property getters and setters must have register calling convention
Property getters and setters cannot be overloaded

Cannot use reserved unit name '<element>'
No overloaded version of '<element>' with this parameter list exists
Property attribute 'label' cannot be used in dispinterface
Property attribute 'label' cannot be an empty string
Identifier '<element>' cannot be exported
Only external cdecl functions may use varargs
Cannot take address of local symbol <element>

Too many nested conditional directives
Unterminated conditional directive
Type not allowed in Variant Dispatch call
Property setters cannot take var parameters
Too many local constants.  Use shorter procedures
Duplicate resource name: type <name>  '<element>'
Duplicate resource id: type <name> id <name>

qkrwhdgns   2005-07-28 PM 12:35:47  
오류가 참 많네요.. ^^;
LIST ALL               GO TO THE TOP


N
   Subject
Posted by
Date
H
44
   [강좌#9-2] 이노셋업의 오른팔 istool 초보자 수련 - 언어 [1]
ps.이진백 2004/07/04  11140
43
   [강좌#9-1] 이노셋업의 오른팔 istool 초보자 수련 [4]
ps.이진백 2004/07/04  9290
42
   [강좌#8] 자동업데이트 구현 [2]
ps.이진백 2004/06/22  7705
41
     [re] [강좌#8] 간략히 설명을하자면... [1]
권선중 2004/06/27  5060
40
   유용한 기능을 사용자함수로 이용하기 종합.. [9]
최재일 2004/06/18  7439
39
   [강좌]충돌알고리즘 설명. For 게임만들기 [1]
김환욱 2004/06/17  6999
38
   [끼적강좌 2] 개성있는 메뉴 만들기 [초급]
권선중 2004/02/09  5520
37
   [끼적강좌 1] 버튼만들기 [동화편] [4]
권선중 2004/02/09  5619

   [강좌#7] 창조 오류 해부 2탄 (일부작성중) [1]
ps.이진백 2004/05/19  20966
35
     [강좌#7.5] 창조 오류 해부 2.5탄 (나머지)
지상현 2010/06/02  11536
34
   [강좌#6] 연산자
ps.구루 2004/05/05  4840
33
   [강좌#5] 창조 컴포넌트 [6]
ps.구루 2004/04/24  4882
32
   [끼적강좌 4] 텝 메뉴 만들기 [입문] [2]
권선중 2004/02/28  6358
31
   배열강좌 추가..
nylon 2004/02/25  5365
30
     [re] 배열강좌 추가..
변혁수 2005/01/20  4723
29
   배열 강좌 [2차 배열, 3차 배열 까지]
Pueding 2004/02/21  5927
28
   [끼적강좌 3] 에디트 만들기[투명에디트] [1]
권선중 2004/02/09  5919
27
   [끼적강좌 2] 개성있는 메뉴 만들기 [초급] [1]
권선중 2004/02/09  5047
26
     [끼적강좌 2] 개성있는 메뉴 만들기 [초급보충+중급]
권선중 2004/02/28  4749
25
   [끼적강좌 1] 버튼만들기 [동화편] [3]
권선중 2004/02/09  5250
24
     [끼적강좌 1] 버튼만들기 [밑판편]
권선중 2004/02/09  5182
23
   스킨 적용 강좌 [1]
Pueding 2003/10/12  5817
22
   [강좌#4] 끝내와 닫아를 구분하자! [3]
ps.구루 2003/04/26  6044
21
   [강좌#3] 창조 재생기의 문제점과 임시대책 [2]
ps.구루 2003/04/17  5412
20
   [펌][강좌] 기초적인 압축 알고리즘 [8]
날개달기 2003/04/14  6306
LIST ALL   Prev [1][2][3] 4 [5] Next
Copyright 1999-2024 Zeroboard / skin by reedyfox in miniwini style
로그인
지우개 Expert 3.0
제작자 : 천호성 님 [LINK]
로그인
대박로또2005
제작자 : 최재일 님 [LINK]
로그인
1박종훈15292 점
2지상현8809 점
3손상진7388 점
4권선중6060 점
5이진백5174 점
로그인
가입일닉네임
05/31김동률
03/31홍형기
09/01o00pp99oo
12/27이재민
11/20이희철
로그인