線上訂房服務-台灣趴趴狗聯合訂房中心
發文 回覆 瀏覽次數:790
推到 Plurk!
推到 Facebook!

[請問]exit()的作用是什麼??

尚未結案
yungfan
一般會員


發表:25
回覆:13
積分:7
註冊:2003-12-29

發送簡訊給我
#1 引用回覆 回覆 發表時間:2004-03-10 14:22:15 IP:163.28.xxx.xxx 未訂閱
在同一個程式中為什麼會有exit(1),exit(2)…,exit(7)?? 指導一下吧!!謝謝!!
taishyang
站務副站長


發表:377
回覆:5490
積分:4563
註冊:2002-10-08

發送簡訊給我
#2 引用回覆 回覆 發表時間:2004-03-10 14:33:33 IP:140.135.xxx.xxx 未訂閱
yungfan您好: 不知下面的討論您是否已經看過 < href="http://delphi.ktop.com.tw/topic.php?topic_id=26243">http://delphi.ktop.com.tw/topic.php?topic_id=26243 http://delphi.ktop.com.tw/topic.php?topic_id=36442 順心
yungfan
一般會員


發表:25
回覆:13
積分:7
註冊:2003-12-29

發送簡訊給我
#3 引用回覆 回覆 發表時間:2004-03-10 15:07:30 IP:163.28.xxx.xxx 未訂閱
taishyang您好: 我看過這些討論了,不過還是不太清楚,即然是跳出程式,為什麼引數會有 1~7呢?? 納悶中…=.=
taishyang
站務副站長


發表:377
回覆:5490
積分:4563
註冊:2002-10-08

發送簡訊給我
#4 引用回覆 回覆 發表時間:2004-03-10 15:15:50 IP:140.135.xxx.xxx 未訂閱
引言:即然是跳出程式,為什麼引數會有1~7呢??
status is provided for the calling process as the exit status of the process. Typically a value of 0 is used to indicate a normal exit, and a nonzero value indicates some error.It can be, but is not required, to be set with one of the following:
系統時間:2024-05-18 16:14:21
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!