티스토리 뷰

Delphi

procedure Abort;

C++

extern PACKAGE void __fastcall Abort(void);

Properties

Type

Visibility

Source

Unit

Parent

procedure

function

public

System.SysUtils.pas

System.SysUtils.hpp

System.SysUtils

System.SysUtils

Description

Raises a silent exception.

Use Abort to escape from an execution path without reporting an error.

Abort raises a special "silent exception" (EAbort), which operates like any other exception, but does not display an error message to the end user. 

Abort redirects execution to the end of the last exception block.

 

조용한 예외를 발생시킵니다.

Abort를 사용하면 오류를 보고하지 않고, 실행 경로에서 벗어납니다.

Abort는 다른 예외처럼 작동하는 특수 "조용한 예외"(EAbort)를 발생 시키지만, 최종 사용자에게는 오류 메시지를 표시하지 않습니다.

Abort는 실행을 마지막 예외 블록의 끝으로 다시 보냅니다.

 

Example

begin

  { 결과:

    시작

    Abort()를 호출했습니다.

  }

  try

    try

      Writeln('시작');

      Abort();

      Writeln('출력 안됨');

    except

      Writeln('Abort()를 호출했습니다.');

    end;

  finally

    Readln;

  end;

end.

 

any other(s)

뭔가 다른 (), 누군가 딴(사람)

redirect 미국·영국 [|ri:də|rekt;|ri:dɪ|rekt;|ri:daɪ|rekt]   영국식   

1. (돈 같은 것을 다른 방식용도로) 전용(轉用)하다
2. (
다른 주소방향으로) 다시 보내다

 

출처: http://docwiki.embarcadero.com/Libraries/XE2/en/System.SysUtils.Abort


댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함