KZfZjkdbc]hkm^Zjkl\_ggucZwjhdhkfbq_kdbcmgb\_jkbl_l bf_gbZdZ^_fbdZKIDhjhe_\Z
Debf_glv_\D?
Hkgh\u]jZnbq_kdh...
116 downloads
574 Views
542KB Size
Report
This content was uploaded by our users and we assume good faith they have the permission to share this book. If you own the copyright to this book and it is wrongfully on our website, we offer a simple DMCA procedure to remove your content from our site. Start by pressing the button below!
Report copyright / DMCA form
KZfZjkdbc]hkm^Zjkl\_ggucZwjhdhkfbq_kdbcmgb\_jkbl_l bf_gbZdZ^_fbdZKIDhjhe_\Z
Debf_glv_\D?
Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby \kj_^_/DE9,(:
KZfZjZ
2
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
M>D Debf_glv_\ D? Hkgh\u ]jZnbq_kdh]h ijh]jZffbjh\Zgby \ kj_^_ /DE9,(:Mq_[Ihkh[b_KZfZj]hkZwjhdhkfmglKZfZjZk ISBN Ijb\_^_gZ bgnhjfZpby h[ hj]ZgbaZpbb b ijZ\beZo ]jZnbq_kdh]h ijh]jZffbjh\Zgby\6&$'$kbkl_f_/DE9,(:nbjfu1DWLRQDO,QVWUXPHQWV Ihkh[b_ ij_^gZagZq_gh ^ey klm^_glh\ h[mqZxsboky ih ki_pbZevghklb :\lhfZlbabjh\Zggu_kbkl_fuh[jZ[hldbbgnhjfZpbbbmijZ\e_gbyZ lZd`_fh`_l[ulvihe_aghklm^_glZfkf_`guoki_pbZevghkl_cJZajZ[hlZghgZ dZn_^j_bgnhjfZpbhgguokbkl_fbl_ogheh]bc LZ[eBe;b[ebh]jgZa\
I_qZlZ_lky ih j_r_gbx j_^Zdpbhgghba^Zl_evkdh]h kh\_lZ KZfZjkdh]h ]hkm^Zjkl\_ggh]h Zwjhdhkfbq_kdh]h mgb\_jkbl_lZ bf_gb ZdZ^_fbdZ KI Dhjhe_\Z J_p_ga_glu
ISBN
KZfZjkdbc]hkm^Zjkl\_gguc Zwjhdhkfbq_kdbcmgb\_jkbl_l
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
3
<\_^_gb_ H^gbf ba ]eZ\guo nZdlhjh\ \g_^j_gby kj_^kl\ \uqbkebl_evghc l_ogbdb \h \k_ kn_ju gZr_c `bagb y\ey_lky m\_ebq_gb_ ijh[e_fghc hjb_glbjh\Zgghklb wlbo kj_^kl\ GZijbf_j fmaudZgluZjZg`bjh\sbdb ihemqbeb \hafh`ghklv h[sZlvky k dhfivxl_jhf g_ \ l_jfbgZo Z[kljZdlguo yaudh\ ijh]jZffbjh\Zgby gh \ ijb\uqguo bf l_jfbgZo ghlghc ]jZfhlu [mo]Zel_ju b wdhghfbklu \ l_jfbgZo f_lh^bdb mijZ\e_gby nbgZgkZfb ij_^ijbylby\_jklZevsbdb\l_jfbgZoi_qZlgh]h^_eZblZd^Ze__ <kn_j_l_ogheh]bcjZajZ[hldbijh]jZffgh]hh[_ki_q_gbywlZl_g^_gpby \ujZabeZkv \ \hagbdgh\_gbb kj_^ \bamZevgh]h ijh]jZffbjh\Zgby GZijbf_j ihimeyjgZykj_^Z%RUODQG,QSULVH'HOSKLiha\hey_le_]dhbijhklh©gZjbkh\Zlvª \g_rgbc bgl_jn_ck kha^Z\Z_fhc ijh]jZffu Z hibku\Zlv \ l_dklh\hf \b^_ lj_[m_lkyebrvZe]hjblf__jZ[hlu >Zevg_crbf jZa\blb_f b^_b \bamZevgh]h ijh]jZffbjh\Zgby y\beZkv dhgp_ipby ]jZnbq_kdh]h ijh]jZffbjh\Zgby ij_^mkfZljb\ZxsZy ©jbkh\Zgb_ª \k_c ijh]jZffu p_ebdhf Hkh[_ggh fgh]h ij_bfms_kl\ j_ZebaZpby b^_b ]jZnbq_kdh]hijh]jZffbjh\Zgby^Z_l\h[eZklb6&$'$kbkl_fhlZg]ebckdh]h 6XSHUYLVRU\ &RQWURO $QG 'DWD $FTXLVLWLRQ mijZ\e_gb_ kbkl_fZfb b k[hj ^Zgguo ihkdhevdm iha\hey_l kh]eZkh\u\Zlv \ jZfdZo _^bgh]h ijh]jZffgh]h ijh_dlZ ljb jZaebqguo ]jZnbq_kdbo ghlZpbb yaud kljmdlmjguo b nmgdpbhgZevguoko_f yaudijbgpbibZevguoko_f yaudko_fZe]hjblfh\ [ehdko_f GZb[he__ ihke_^h\Zl_evgh_ b m^Zqgh_ hljZ`_gb_ dhgp_ipbb \bamZevgh]h b]jZnbq_kdh]hijh]jZffbjh\Zgby6&$'$kbkl_fgZreb\jZajZ[hldZonbjfu 1DWLRQDO ,QVWUXPHQWV iZd_lZo /DE:LQGRZV b /DE9,(: >Zggh_ ihkh[b_ ij_^klZ\ey_l kh[hc djZldh_ hibkZgb_ \hafh`ghkl_c kbkl_fu /DE9,(: kgZ[`_ggh_[hevrbfdhebq_kl\hfijbf_jh\ Ihkh[b_ihkljh_ghihijbgpbim©hlijhklh]hdkeh`ghfmª < i_j\hf jZa^_e_ h[km`^Zxlky hkgh\gu_ ijbgpbiu kljh_gby b nmgdpbhgbjh\Zgby/DE9,(:
4
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
< iylhf jZa^_e_ jZkkfZljb\Zxlky g_dhlhju_ jZkrbj_ggu_ \hafh`ghklb /DE9,(:iha\heyxsb_kha^Z\Zlvl_klbjh\ZlvbhleZ`b\Zlvkeh`gu_ijh_dlu GZdhg_p r_klhc jZa^_e beexkljbjm_l g_dhlhju_ ijZdlbq_kdb_ Zki_dlu bkihevah\Zgby /DE9,(: gZ hkgh\_ g_keh`gh]h ijbf_jZ ijh]jZffbjh\Zgby \g_rg_]hmkljhckl\ZIW? E_`bgm aZ jy^ p_gguo aZf_qZgbc b ij_^eh`_gbc\ukdZaZgguo\ijhp_kk_nhjfbjh\Zgbydhgp_ipbbihkh[by Djhf_ lh]h Z\lhj kqblZ_l k\hbf ^he]hf k [eZ]h^Zjghklvx hlf_lblv ijyfh_bdhk\_ggh_mqZklb_\nhjfbjh\Zgbbl_dklZihkh[byklm^_glh\ K=:M H ;Zjurgbdh\hc G DZ\Zj^Zdh\hc F FZjlvygh\Z J IZibjh\kdh]h b = J_\ydbghc
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
5
1. I_j\h_agZdhfkl\hk/DE9,(: 1.1.
QlhlZdh_/DE9,(: /DE9,(: /DERUDWRU\ 9LUWXDO ,QVWUXPHQWV (QJLQHHULQJ :RUNVKRS ± wlh kbkl_fZ ijh]jZffbjh\Zgby jZajZ[hlZggZy nbjfhc 1DWLRQDO ,QVWUXPHQWV KR: b hjb_glbjh\ZggZy gZ kha^Zgb_ ijbeh`_gbc \ h[eZklb Z\lhfZlbaZpbb gZmqguo bkke_^h\Zgbc mijZ\e_gby ijhba\h^kl\hf b ijhfure_ggufb mklZgh\dZfb b li /DE9,(: ih k\hbf \hafh`ghklyf ijb[eb`Z_lky d kbkl_fZf ijh]jZffbjh\Zgby h[s_]h gZagZq_gby gZijbf_j d 'HOSKL L_f g_ f_g__ f_`^m gbfb kms_kl\m_l jy^ \Z`guo jZaebqbc 1. Kbkl_fZ /DE9,(: hkgh\ZgZ ijh]jZffbjh\Zgby 2. Kbkl_fZ /DE9,(: hkgh\ZgZ hjb_glbjh\Zggh]hijh]jZffbjh\Zgby
gZ gZ
ijbgpbiZo
]jZnbq_kdh]h
ijbgpbiZo
h[t_dlgh
3. Kbkl_fZ /DE9,(: y\ey_lky ijh[e_fghhjb_glbjh\Zgghc hgZ ih^^_j`b\Z_l ijh]jZffbjh\Zgb_ fgh`_kl\Z ^_ckl\bc ki_pbnbqguo ^ey :KGB:KMLIb:KMIbj_Zebam_ldhgp_ipbx\bjlmZevguoijb[hjh\
1.2.
JbkmghdEbp_\ZyiZg_ev
GZjbkmgd_dbg^bdZlhjZfhlghkblkygZijbf_jlZ[eh©0HDVXUHPHQWª
6
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
hlh[jZ`Zxs__ jZajy^u qbkeh\h]h agZq_gby baf_jy_fhc \_ebqbgu Z d kj_^kl\Zf mijZ\e_gby ± iheamghd ©)XQFWLRQª i_j_dexqZl_ev ^bZiZahgZ baf_j_gbc©5DQJHªbi_j_dexqZl_evj_`bfZbaf_j_gbc©7ULJJHU0RGHª 2. ;ehdko_fZhibku\Z_lZe]hjblfjZ[hlu
Jbkmghd;ehdko_fZ
DZ`^uc Zggu_ hl l_jfbgZeh\ d nmgdpbhgZevguf maeZf b f_`^m jZaebqgufb nmgdpbhgZevgufb maeZfb i_j_^Zxlky ijb ihfhsb k\ya_c dhlhju_ bah[jZ`_gugZjbkmgd_jZaghp\_lgufbebgbyfbjZaebqghclhesbgu GZdhg_p jZfdZ kh kdjm]e_ggufb m]eZfb h]jZgbqb\ZxsZy ]jmiim kh_^bg_gguo f_`^m kh[hc l_jfbgZeh\ b nmgdpbhgZevguo maeh\ ± wlh nmgdpbhgZevgucma_ehkh[h]h\b^ZmijZ\eyxsZykljmdlmjZ.
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
Bkihevah\Zgb_/DE9,(: H[uqghfm ihevah\Zl_ex dZd ijZ\beh ijboh^blky bf_lv ^_eh k m`_ ]hlh\ufbaZjZg__jZajZ[hlZggufb^jm]bfbex^vfb
JbkmghdIjbf_j
GZ^h hq_gv q_ldh ij_^klZ\eylv k_[_ qlh
7
8
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
2. Hkgh\ujZajZ[hldb\bjlmZevguoijb[hjh\ < ^Zgghf jZa^_e_ gZ dhgdj_lguo ijbf_jZo [m^ml jZkkfhlj_gu hkgh\gu_ ihgylby b ijb_fu bkihevam_fu_ ijb jZajZ[hld_ kh[kl\_gguo
RZ]MklZgh\bl_dmjkhjijbf_jgh\p_glj_ebp_\hciZg_ebkfjbkmghd S_edgbl_ ijZ\hc dghidhc furb b m^_j`b\Zcl_ __ ^h l_o ihj ihdZ g_ ihy\blky \kieu\Zxsb_ f_gx ©&RQWUROVª ©Kj_^kl\Z mijZ\e_gbyª
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
9
Jbkmghd
Jbkmghd
10 Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
RZ] Ijh^he`Zcl_ m^_j`b\Zlv ijZ\mx dghidm furb i_j_f_sZy klj_edm dmjkhjZ gZ we_f_gl ©1XPHULFª ©Qbkeh\u_ª Z lZd`_ gZ lm iZebljm dhlhjZy \ j_amevlZl_ wlh]h ihy\blky kf jbkmghd Dh]^Z dmjkhjfurbijhoh^blq_j_adZ`^mxibdlh]jZffmbfykhhl\_lkl\mxs_]h we_f_glZ ihy\ey_lky \ gb`g_c qZklb iZeblju Hlimklbl_ dghidm furb dh]^Zklj_edZhdZ`_lkygZibdlh]jZff_©7KHUPRPHWHUª©L_jfhf_ljª
JbkmghdIjbf_jbaf_g_gbyij_^_eh\baf_j_gbc
RZ]>eybaf_g_gbyij_^_eh\baf_j_gbygZrdZe_©L_jfhf_ljZª • s_eqdhf ih ibdlh]jZff_ bgkljmf_glZ ihf_ldb kf jbkmghd \u[_jbl_bgkljmf_glihf_ldb©[mdh\dmª • ^\Z`^u s_edgm\ ih gb`g_fm ij_^_em baf_j_gbc gZ bah[jZ`_gbb l_jfhf_ljZi_j_\_^bl__]h\j_`bfj_^Zdlbjh\Zgby • aZf_gbl_ kljhdm ©ª gZ ©ª b gZ`fbl_ deZ\brm (QWHU! gZ pbnjh\hcdeZ\bZlmj_ LZdbf `_ h[jZahf baf_gbl_ ©ª gZ ©ª /DE9,(: Z\lhfZlbq_kdb ijhfZkrlZ[bjm_l ijhf_`mlhqgu_ agZq_gby gZ rdZe_ dZd ihdZaZgh gZ jbkmgd_ Ijbf_qZgb_ < /DE9,(: \_jkbc oo ibdlh]jZffu bgkljmf_glh\ jZkiheZ]Zxlky g_ \ \_jog_c qZklb hdgZ iZg_eb gh \ hl^_evghf hdg_ ?keb wlh hdgh g_ ijbkmlkl\m_l gZ wdjZg_ lh _]h fh`gh hldjulv \u[jZ\ \ f_gx ©:LQGRZVª ©HdgZª imgdl ©6KRZ 7RROV SDOHWWHª©IhdZaZlviZebljmbgkljmf_glh\ª
RZ]
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
• • • • • • •
11
kbgbc^eyp_eh]hlbiZ hjZg`_\uc^ey\_s_kl\_ggh]hlbiZ a_e_guc^eyeh]bq_kdh]h[me_\kdh]h lbiZ kbj_g_\uc^eykljhdh\h]hlbiZ p\_lfhjkdhc\hegu^eylbiZ©bfynZceZª l_fghk_juc^eylbiZ©b^_glbnbdZlhjhldjulh]hnZceZª dhjbqg_\uc^eydhf[bgbjh\Zgguolbih\
;md\u ©'%/ª mlhqgyxl qlh l_jfbgZe hi_jbjm_l k \_s_kl\_ggufb ^Zggufb ^\hcghc lhqghklb k ^Zggufb lbiZ ©GRXEOHª LZd`_ bkihevamxlky ke_^mxsb_ Z[[j_\bZlmju ^ey mlhqg_gby qbkeh\uo lbih\ ^Zgguo • SGL^ey\_s_kl\_gguo^Zgguoh^bgZjghclhqghklb • DBL^ey\_s_kl\_gguo^Zgguo^\hcghclhqghklb • EXT^ey\_s_kl\_gguo^Zgguoih\ur_gghclhqghklb • I8±^eyp_euo\hkvfb[blh\uo^ZgguokhagZdhf • I16±^eyp_euor_klgZ^pZlb[blh\uo^ZgguokhagZdhf • I32±^eyp_euoljb^pZlb^\mo[blh\uo^ZgguokhagZdhf • U8±^eyp_euo\hkvfb[blh\uo^Zgguo[_aagZdZ • U16^eyp_euor_klgZ^pZlb[blh\uo^Zgguo[_aagZdZ • U32^eyp_euoljb^pZlb^\mo[blh\uo^Zgguo[_aagZdZ • GSG^eydhfie_dkguo^Zgguoh^bgZjghclhqghklb • GDB^eydhfie_dkguo^Zgguo^\hcghclhqghklb • GXT^eydhfie_dkguoqbk_ejZkrbj_gghclhqghklb RZ] >ey i_j_f_s_gby h[t_dlZ b baf_g_gby _]h jZaf_jh\ \u[_jbl_ bgkljmf_glihabpbhgbjh\Zgby©klj_ehqdmª S_edgbl_ihl_jfbgZemh[t_dlZ©L_jfhf_ljªe_\hcdghidhcfurbbhg hdZ`_lky \gmljb rljboh\hc jZfdb M^_j`b\Zy gZ`Zlhc e_\mx dghidm furb \u fh`_l_ ©i_j_lZsblvª \u^_e_gguc lZdbf h[jZahf h[t_dl \ ex[mxlhqdmiZg_eb Ijbf_qZgb_ GZ`Z\ b m^_j`b\Zy gZ`Zlhc e_\mx dghidm furb
<_jgbl_kv gZ i_j_^gxx iZg_ev b gZ\_^bl_ g_ gZ`bfZy dghihd furb bgkljmf_gl ihabpbhgbjh\Zgby gZ h^bg ba m]eh\ bah[jZ`_gby ©L_jfhf_ljZªDh]^Zm]he©jZa^\hblkyª
12 Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
GZ`Zlb_fdeZ\brb'HO!fh`ghm^Zeblv\u^_e_gguch[t_dlbeb]jmiim h[t_dlh\ _fhgkljZpbhggucbklhqgbdgZijy`_gbyª ZiZebljZ\dhlhjhc ojZgblky ibdlh]jZffZ h[t_dlZ fh`_l ghkblv gZbf_gh\Zgb_ ©*HWWLQJ 6WDUWHGª ©I_j\u_ rZ]bª
• ba iZeblju ©6WUXFWV &RQVWDQWVª ©Kljmdlmju b dhgklZgluª h[t_dl ©1XPHULFFRQVWDQWª©Qbkeh\ZydhgklZglZª • ba iZeblju ©$ULWKPHWLFª ©:jbnf_lbdZª h[t_dl ©0XOWLSO\ª ©Mfgh `_gb_ª
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
13
JbkmghdHl^_evgu_h[t_dlugZiZg_eb[ehdko_fu
I_j_f_sZcl_ k\yav furvx \ gZijZ\e_gbb h[t_dlZ ©Mfgh`_gb_ª
I_j_f_klbl_gZwlhihe_dmjkhjfurbgZ`Zlb_fijZ\hcdghidb\uah\bl_ \kieu\Zxs__ f_gx b \u[_jbl_ imgdl ©(GLW ,FRQª ©J_^Zdlbjh\Zlv ibdlh]jZffmª GZ wdjZg_ ihy\blky hdgh ]jZnbq_kdh]h j_^ZdlhjZ kh^_j`Zs__m\_ebq_ggh_bah[jZ`_gb_ibdlh]jZffu
14 Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
Jbkmghd&\yaZggu_h[t_dlugZiZg_eb[ehdko_fu
Bkihevamykj_^kl\Zijbf_jghZgZeh]bqgu_bkihevam_fuf\j_^Zdlhj_06 3DLQW beb 06 3DLQW%UXVK gZjbkmcl_ k\hc kh[kl\_gguc \ZjbZgl ibdlh]jZffubgZ`fbl_dghidm©2.ª
JbkmghdJ_^Zdlhjibdlh]jZff
RZ]Ihkljh_ggucgZfbjm]b_ [he__ keh`gu_
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
15
Ih\lhjbl_ gZqZevgu_ ^_ckl\by bkihevah\Zggu_
JbkmghdIZebljZh[jZaph\
IjZ\hc dghidhc furb \uah\bl_ \ wlhf ihe_ \kieu\Zxs__ f_gx b \u[_jbl_ imgdl ©3DWWHUQVª ©H[jZapuª GZ wdjZg_ ihy\blky iZebljZ kh^_j`ZsZy h[jZapu beb aZ]hlh\db ^ey jZaebqguo \ZjbZglh\ \aZbfgh]h jZkiheh`_gby b ^ey jZaebqguo dhebq_kl\ \oh^guo b \uoh^guo iZjZf_ljh\ km[
Ihhq_j_^ghs_edZcl_dmjkhjhf©dZlmrdbªihh[t_dlZfebp_\hciZg_eb b ih jZaebqguf k_dpbyf h[jZapZ \ gZr_f ijbf_j_ ke_^m_l s_edgmlv ih h[t_dlm©L_jfhf_ljªbih_^bgkl\_gghck_dpbbh[jZapZ K_dpbbh[jZapZ ^eydhlhjuom`_mklZgh\e_ghkhhl\_lkl\b_hdjZrb\Zxlky\k_jucp\_l RZ] KhojZgbl_ kha^Zgguc km[
16 Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
JZajZ[hldZfh^_ebl_fi_jZlmjgh]hfhgblhjZ Ij_^iheh`bf qlh l_fi_jZlmjZ \ gZr_c wdki_jbf_glZevghc dZf_j_ baf_gy_lky ^bgZfbq_kdb b g_h[oh^bfh hlke_`b\Zlv b hlh[jZ`Zlv wlh baf_g_gb_Ihkljhbfkhhl\_lkl\mxsbcbZ]jZffZ kb]gZeZª \u[jZ\ _]h ba iZeblju©*UDSKª©=jZnbdZª Ijb ihfhsb bgkljmf_glZ ihf_ldb haZ]eZ\vl_ bo khhl\_lkl\_ggh ©3RZHUª ©<de
JbkmghdKha^Zgb_h[t_dlh\i_j_^g_ciZg_eb
?keb
JbkmghdP\_lh\ZyiZebljZ
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
17
RZ] I_j_f_klbl_kv gZ hdgh [ehdko_fu b ijb ihfhsb bgkljmf_glZ ihabpbhgbjh\Zgby bkijZ\vl_ f_klhiheh`_gb_ l_jfbgZeh\ _keb wlh g_h[oh^bfhS_edgbl_ijZ\hcdghidhcfurbijbf_jghihk_j_^bg_hdgZ \hldju\r_fkyf_gx\u[_jbl_imgdl©9,ª©
Jbkmghd
18 Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
AZl_f \ iZeblj_ ©7LPH 'LDORJª ©<j_fy b ^bZeh]ª \u[_jbl_ h[t_dl ©:DLW 8QWLO 1H[W PV 0XOWLSOHª ©H`b^Zlv ihdZ g_ ijhc^_l lj_[m_fh_ dhebq_kl\hfbeebk_dmg^ª JZaf_klbl_wlbh[t_dlu\gmljbjZfdbpbdeZb kh_^bgbl_f_`^mkh[hcdZdihdZaZghgZjbkmgd_ RZ]I_j_c^bl_gZebp_\mxiZg_evey ijbgm^bl_evgh]h ij_ju\Zgby jZ[hlu ijb[hjZ kem`bl lZd`_ dghidZ ©6WRSª jZkiheh`_ggZy gZ ebg_cd_ ibdlh]jZff \ \_jog_c qZklb hdgZ WlZ dghidZ ZdlmZevgZ gZ wlZi_ jZajZ[hldb b hleZ^db
Jbkmghd;ehdko_fZ
RZ] Ijb^mfZcl_ b gZjbkmcl_ ^ey ijb[hjZ ©Fhgblhj l_fi_jZlmjuª djZkb\mxibdlh]jZffmKhojZgbl_ijb[hj
JbkmghdI_j_^gyyiZg_evijb[hjZ©Fhgblhjl_fi_jZlmjuª
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
19
JZajZ[hldZfh^_ebZgZebaZlhjZl_fi_jZlmju Dh]^Z baf_jbl_evgZy bgnhjfZpby \ j_amevlZl_ \ha^_ckl\by jZaebqguo \ebyxsbo nZdlhjh\ hdZau\Z_lky ©aZrmfe_gZª h[uqgh bkihevamxl jZaebqgu_ f_lh^u k]eZ`b\Zgby \u[hjhd Fh^bnbpbjm_f kha^Zgguc gZ ij_^u^ms_fwlZi_
RZ] S_edgbl_ ijZ\hc dghidhc furb ihf_klb\ __ dmjkhj lhqgh gZ ebgbb k\yab f_`^m km[
Ma_e©%XQGOHª©H[t_^bg_gb_ª ij_^gZagZq_g^eyh[t_^bg_gbyg_kdhevdbo ebgbc k\yab \ lhf qbke_ b jZaebqguo lbih\ \ h^bg h[sbc ©dZ[_evª Ih mfheqZgbx hg jZkkqblZg gZ h^gm \oh^gmx k\yav
JbkmghdFh^bnbpbjh\ZggucnjZ]f_gl[ehdko_fu
20 Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
RZ]ey jZajZ[Zlu\Z_fuo mq_[guo
JbkmghdEbp_\ZyiZg_ev©:gZebaZlhjZl_fi_jZlmjuª
RZ] AZimklbl_
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
21
JZajZ[hldZ fh^_eb ijb[hjZ ke_^ys_]h aZ ih\_^_gb_f l_fi_jZlmju Ij_^iheh`bf qlh g_h[oh^bfh hlke_`b\Zlv ih\_^_gb_ baf_jy_fhc l_fi_jZlmjubij_^mij_`^Zlvhi_jZlhjZhij_\ur_gbbgZi_j_^aZ^Zggh]h ihjh]h\h]h agZq_gby ©mklZ\dbª Ijh^he`bf fh^bnbpbjh\Zgb_
22 Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
JbkmghdHdghih^kdZahd
:dlb\bjmcl_ hdgh ih^kdZahd ijb ihfhsb imgdlZ ©6KRZ +HOSª ©Hlh[jZablv ih^kdZadmª \ kbkl_fghf f_gx ©+HOSª ©Ihfhsvª GZ\_^bl_dmjkhjfurbgZbgl_j_kmxsbc
RZ]
Jbkmghd;ehdko_fZ
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
23
RZ] KhojZgbl_
JbkmghdEbp_\ZyiZg_ev
H[t_dluebp_\hciZg_eb >bZ]jZffub]jZnbdb < iZeblj_ ©*UDSKª ©=jZnbdZª kf jbkmghd \kieu\Zxs_]h f_gx kh^_j`Zlky g_kdhevdh jZaebqguo lbih\ h[t_dlh\ ij_^gZagZq_gguo ^ey hlh[jZ`_gbyqbkeh\uo\u[hjhd
JbkmghdIZebljZ©*UDSKª
1. H[t_dl lbiZ ©:DYHIRUP &KDUWª ©>bZ]jZffZ kb]gZeZª hlh[jZ`Z_l wd\b^bklZglgu_ qbkeh\u_ ihke_^h\Zl_evghklb k _^bgbqguf rZ]hf L_jfbgZe h[t_dlZ wlh]h lbiZ jZkiheZ]Zxsbcky gZ [ehdko_f_ fh`_l \hkijbgbfZlvke_^mxsb_lbiu^Zgguo • kdZeyjhq_j_^ghcqe_gjy^Z • h^ghf_jgucfZkkb\qbkeh\uoagZq_gbc • deZkl_jba1fZkkb\h\^eyhlh[jZ`_gby1ebgbc
24 Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
2. H[t_dl lbiZ ©:DYHIRUP *UDSKª ©=jZnbd kb]gZeZª hlh[jZ`Z_l wd\b^bklZglgu_ qbkeh\u_ ihke_^h\Zl_evghklb ijbq_f Z[kpbkkm i_j\h]h hlkq_lZ b rZ] ih hkb Z[kpbkk fh`_l aZ^Z\Zlv ihevah\Zl_ev L_jfbgZe h[t_dlZwlh]hlbiZjZkiheZ]ZxsbckygZ[ehdko_f_fh`_l\hkijbgbfZlv ke_^mxsb_lbiu^Zgguo • h^ghf_jgucfZkkb\qbkeh\uoagZq_gbc\wlhfkemqZ_ij_^iheZ]Z_lky qlhrZ]ihrdZe_Z[kpbkkjZ\_g • deZkl_j ba h^ghf_jgh]h fZkkb\Z qbkeh\uo agZq_gbc b dhgklZglu \_ebqbgurZ]ZihrdZe_Z[kpbkk • deZkl_j ba h^ghf_jgh]h fZkkb\Z qbkeh\uo agZq_gbc b ^\mo dhgklZgl \_ebqbgurZ]ZihrdZe_Z[kpbkkbZ[kpbkkui_j\h]hhlkq_lZ • deZkl_jba1\ur_hibkZgguofZkkb\h\bebdeZkl_jh\^eyhlh[jZ`_gby 1ebgbc H[t_dl lbiZ ©;< *UDSKª ©Dhhj^bgZlguc ]jZnbdª fh`_l hlh[jZ`Zlv ]jZnbdbijhba\hevguo\lhfqbke_bg_h^ghagZqguo nmgdpbcL_jfbgZe h[t_dlZwlh]hlbiZjZkiheZ]ZxsbckygZ[ehdko_f_fh`_l\hkijbgbfZlv ke_^mxsb_lbiu^Zgguo • deZkl_j ba ^\mo fZkkb\h\ fZkkb\Z agZq_gbc Z[kpbkk b fZkkb\Z agZq_gbchj^bgZl • deZkl_jba1\ur_hibkZgguodeZkl_jh\^eyhlh[jZ`_gby1ebgbc Ijbf_ju lbibqgh]h bkihevah\Zgby h[t_dlh\ lbiZ ©:DYHIRUP FKDUWª ©>bZ]jZffZ kb]gZeZª ©:DYHIRUP JUDSKª ©=jZnbd kb]gZeZª b ©;< *UDSKª©Dhhj^bgZlguc]jZnbdª ijb\_^_gugZjbkmgd_ H[t_dlu lbiZ ©,QWHQVLW\ &KDUWª ©>bZ]jZffZ bgl_gkb\ghklbª b ©,QWHQVLW\ *UDSKª ©=jZnbd bgl_gkb\ghklbª ih^h[gu h[t_dlZf lbih\ ©:DYHIRUP &KDUWª ©>bZ]jZffZ kb]gZeZª b ©:DYHIRUP *UDSKª ©=jZnbd kb]gZeZª b hlebqZxlky hl gbo lhevdh l_f qlh agZq_gby hj^bgZl hlh[jZ`Zxlky g_ \ \b^_ kh_^bg_gguo ebgbyfb lhq_d gh \ \b^_ p\_lh\ jZaebqghcbgl_gkb\ghklb
JbkmghdBkihevah\Zgb_]jZnbdh\b^bZ]jZff
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
25
hklmi d mijZ\e_gbx wlbfb k\hckl\Zfb hkms_kl\ey_lky ijb ihfhsb \kieu\Zxs_]hf_gxdhlhjh_ihy\ey_lkyijbgZ`ZlbbgZh[t_dl_ijZ\hc dghidb furb Wlh f_gx kh^_j`bl ke_^mxsb_ imgdlu b ih^imgdlu kf jbkmghd 1) &KDQJH WR &RQWURO,QGLFDWRU I_j_dexqblv h[t_dl \ j_`bf kj_^kl\Z mijZ\e_gbybebbg^bdZlhjZ )LQG 7HUPLQDO GZclb gZ [ehdko_f_ l_jfbgZe khhl\_lkl\mxsbc ^Zgghfmh[t_dlm 6KRZHlh[jZablv • /DEHOF_ldmkihykgyxsbfl_dklhf • /HJHQGE_]_g^m[ehdmkeh\guoh[hagZq_gbc • 3DOHWWHImevlbgl_jZdlb\gh]hmijZ\e_gbyk\hckl\Zfbbg^bdZlhjZ • 'LJLWDO'LVSOD\Pbnjh\hc^bkie_c • 6FUROOEDUEbg_cdmijhdjmldb • ;6FDOHRdZemZ[kpbkk • <6FDOHRdZemhj^bgZl 'DWD2SHUDWLRQVHi_jZpbbk^Zggufb • 5HLQLWLDOL]H WR GHIDXOW K[jhkblv \k_ mklZgh\db \ ©klZg^Zjlgh_ª khklhygb_ • 0DNH &XUUHQW 9DOXH 'HIDXOW K^_eZlv l_dmsb_ mklZgh\db ©klZg ^Zjlgufbª • &XW 'DWD ©
JbkmghdKljmdlmjZ\kieu\Zxsbof_gxh[t_dlh\lbiZ©>bZ]jZffub]jZnbdbª
26 Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
&UHDWH $WWULEXWH 1RGH Kha^Zlv ^ey h[t_dlZ \ hdg_ [ehdko_fu Zljb[mlgucma_e .H\1DYLJDWLRQI_j_dexqblvmijZ\e_gb_furvxdeZ\bZlmjhc 5HSODFHAZf_gblvex[uf^jm]bfh[t_dlhfbaex[hc^jm]hciZeblju ;6FDOHK\hckl\ZrdZeuZ[kpbkk • )RUPDWWLQJIZjZf_ljunhjfZlbjh\Zgbybah[jZ`_gby • $XWR6FDOH ; I_j_dexqblv j_`bf Z\lhfZkrlZ[bjh\Zgby ih hkb Z[k pbkk • /RRVH)LWI_j_dexqblvj_`bfhdjm]e_gbyij_^_eh\rdZeu^hp_euo qbk_e <6FDOHK\hckl\ZrdZeuhj^bgZl • )RUPDWWLQJIZjZf_ljunhjfZlbjh\Zgbybah[jZ`_gby • $XWR6FDOH < I_j_dexqblv j_`bf Z\lhfZkrlZ[bjh\Zgby ih hkb hj^bgZl • /RRVH)LWI_j_dexqblvj_`bfhdjm]e_gbyij_^_eh\rdZeu^hp_euo qbk_e 7UDQVSRVHDUUD\LjZgkihgbjh\ZlvfZkkb\ 6WDFN 3ORWV I_j_dexqblv j_`bf jZa^_e_gby hdgZ bg^bdZlhjZ gZ ih^hdgZ &KDUW +LVWRU\ /HQJWK JZaf_j khojZgy_fhc ^ey hlh[jZ`_gby qZklb \u[hjdb Ijbf_qZgb_ Ijb ihfhsb h[t_dlh\ lbiZ ©:ljb[mlguc ma_eª \hafh`gh ijh]jZffgh_ mijZ\e_gb_k\hckl\Zfbh[t_dlh\ebp_\hciZg_eb
Qbkeh\u_kj_^kl\ZmijZ\e_gbybbg^bdZlhju < iZeblj_ ©1XPHULFª ©Qbkeh\u_ª \kieu\Zxs_]h f_gx kh^_j`Zlky kj_^kl\Z mijZ\e_gby b bg^bdZlhju ij_^gZagZq_ggu_ khhl\_lkl\_ggh ^ey \\h^Zb^eyhlh[jZ`_gbyqbkeh\uoagZq_gbcHgbdZdijZ\behy\eyxlky ZgZeh]Zfb we_f_glh\ ebp_\uo iZg_e_c j_Zevguo ijb[hjh\ \Zjbhf_ljh\ iheamgdh\klj_ehqguobg^bdZlhjh\mdZaZl_e_cmjh\gyblikfjbkmghd 3.4.) LZd`_ \ iZeblj_ ©1XPHULFª ©Qbkeh\u_ª kh^_j`Zlky p\_lh\u_ kj_^kl\Z mijZ\e_gbybbg^bdZlhjuhgb\^Zgghfihkh[bbg_jZkkfZljb\Zxlky
JbkmghdIZebljZ©1XPHULFª©Qbkeh\u_ª
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
27
Ijhkl_crbf kj_^kl\hf hlh[jZ`_gby qbkeh\uo agZq_gbc y\ey_lky h[t_dl ©'LJLWDO ,QGLFDWRUª ©Qbkeh\hc bg^bdZlhjª Hg khklhbl lhevdh ba pbnjh\h]h^bkie_ygZdhlhjhfjZaf_sZ_lkyhlh[jZ`Z_fh_qbkeh HklZevgu_ kj_^kl\Z hlh[jZ`_gby khklhyl ba bah[jZ`_gby \bjlmZevgh]h bg^bdZlhjZbpbnjh\h]h^bkie_yijbq_fpbnjh\hc^bkie_cij_^gZagZq_g ^eyhlh[jZ`_gbylhqgh]hagZq_gbyqbkeh\hc\_ebqbgu Ijhkl_crbf kj_^kl\hf \\h^Z y\ey_lky h[t_dl ©'LJLWDO &RQWUROª ©Qbkeh\h_ kj_^kl\h mijZ\e_gbyª Hg khklhbl ba ihey j_^Zdlbjm_fh]h \\h^Z b ^\mo klj_eh\b^guo dghihd
JbkmghdIZebljZqbkeh\uolbih\
28 Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
©'DWD 5DQJHª ©Ij_^_eu qbkeh\uo agZq_gbcª iha\hey_l mijZ\eylv ij_^_evgufb agZq_gbyfb \_ebqbg ]_g_jbjm_fuo beb hlh[jZ`Z_fuo h[t_dlhfh[Z\blv klj_edmª h[_ki_qb\Z_l \hafh`ghklv bg^bdZlhjZfhlh[jZ`ZlvZkj_^kl\ZfmijZ\e_gbykem`blvbklhqgbdhf^ey g_kdhevdboqbkeh\uoagZq_gbch^gh\j_f_ggh Hl^_evgh jZkkfhljbf lZd`_ imgdl f_gx ©&KDQJH WR &RQWURO,QGLFDWRUª ©I_j_dexqblv h[t_dl \ j_`bf kj_^kl\Z mijZ\e_gby beb bg^bdZlhjZª
JbkmghdNhjfZ\\h^Z©'DWD5DQJHª
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
29
JbkmghdNhjfZ\\h^Z©)RUPDW 3UHFLVLRQª
Ijbf_jhfbkihevah\Zgbyh[t_dlh\lbiZ©Qbkeh\u_kj_^kl\ZmijZ\e_gbyb bg^bdZlhjuª fh`_l kem`blv
Jbkmghd
Eh]bq_kdb_kj_^kl\ZmijZ\e_gbybbg^bdZlhju < iZeblj_ ©%RROHDQª ©Eh]bq_kdb_ª \kieu\Zxs_]h f_gx kh^_j`Zlky kj_^kl\Z mijZ\e_gby b bg^bdZlhju ij_^gZagZq_ggu_ khhl\_lkl\_ggh ^ey \\h^Zb^eyhlh[jZ`_gbyeh]bq_kdboagZq_gbc©BKLBG:ªbeb©EH@Vª
30 Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
Hgb dZd ijZ\beh y\eyxlky ZgZeh]Zfb we_f_glh\ ebp_\uo iZg_e_c j_Zevguo ijb[hjh\ lZdbo dZd dghidb \udexqZl_eb lmf[e_ju kb]gZevgu_eZfihqdbbg^bdZlhjgu_k\_lh^bh^ublikfjbkmghd
JbkmghdIZebljZ©%RROHDQVª
Bf_xlky r_klv \hafh`guo j_`bfh\ jZ[hlu eh]bq_kdbo kj_^kl\ mijZ\e_gby i_j_dexq_gb_ dhlhjuo hkms_kl\ey_lky \ j_amevlZl_ \u[hjZ imgdlZ ©0HFKDQLFDO $FWLRQª ©F_oZgbq_kdh_ ^_ckl\b_ª \kieu\Zxs_]h f_gxkfjbkmghd
Jbkmghd<eh`_ggZyiZebljZ©F_oZgbq_kdb_^_ckl\byª
6ZLWFK:KHQ3UHVVHGI_j_dexq_gb_ijbgZ`Zlbb bg\_jlbjm_lagZq_gb_ kj_^kl\Z mijZ\e_gby ijb dZ`^hf gZ`Zlbb b gZihfbgZ_l jZ[hlm \udexqZl_eyk\_lZ 6ZLWFK :KHQ 5HOHDVHG I_j_dexq_gb_ ijb hlimkdZgbb bg\_jlbjm_l agZq_gb_kj_^kl\ZmijZ\e_gby\fhf_glhlimkdZgbydghidb 6ZLWFK 8QWLO 5HOHDVHG I_j_dexq_gb_ ^h hlimkdZgby bg\_jlbjm_l agZq_gb_ kj_^kl\Z mijZ\e_gby lhevdh ihke_ lh]h dZd
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
31
DZd b ^jm]b_ h[t_dlu i_j_^g_c iZg_eb eh]bq_kdb_ bg^bdZlhju b i_j_dexqZl_eb h[eZ^Zxl gZ[hjhf k\hckl\ baf_gy_fuo q_j_a \kieu\Zxs__ f_gx Baf_g_gb_ f_oZgbq_kdh]h ^_ckl\by i_j_dexqZl_ey [ueh jZkkfhlj_gh \ur_ \ ^Zgghf jZa^_e_ Z hklZevgu_ imgdlu f_gx \ h[s_f ljZ^bpbhggu ^ey h[t_dlh\ i_j_^g_c iZg_eb kf ii b < qZklghklb dZ`^uc h[t_dl fh`_l [ulv i_j_dexq_g dZd \ j_`bf kj_^kl\Z mijZ\e_gbylZdb\j_`bfbg^bdZlhjZ G_dhlhju_ kj_^kl\Z mijZ\e_gby dghihqgh]h lbiZ kh^_j`Zl l_dklh\mx f_ldm lbiZ ©6WRSª ©2Qª beb ©2IIª
JbkmghdBfblZlhj^\_jgh]ha\hgdZ
GZ jbkmgd_ bah[jZ`_g ey djm]ehc dghidb mklZgh\e_gh f_oZgbq_kdh_ ^_ckl\b_ /DWFK 8QWLO 5HOHDVHG AZs_edb\Z_lky ihdZ gZ`Zlh >ey hj]ZgbaZpbb [_kdhg_qgh]h pbdeZ \ [ehdko_f_ bkihevam_lky ma_e ©%RROHDQ &RQVWDQWª ©Eh]bq_kdZy dhgklZglZª
Kj_^kl\ZmijZ\e_gbybbg^bdZlhjuijhqbolbih\ </DE9,(:lZd`_ij_^mkfhlj_gukj_^kl\ZmijZ\e_gbybbg^bdZlhju^ey \\h^Z b hlh[jZ`_gby ^Zgguo b ^jm]bo lbih\ ihemqb\rbo jZkijhkljZg_gb_\ljZ^bpbhgguoyaudZoijh]jZffbjh\Zgby FZkkb\u eylh]hqlh[ugZagZqblv ^ey h[t_dlZ dhgdj_lguc lbi ^Zgguo s_edgbl_ ijZ\hc dghidhc furb \gmljbjZfdbb\u[_jbl_ba\kieu\Zxs_]hf_gxkj_^kl\hmijZ\e_gbybeb bg^bdZlhj`_eZ_fh]hlbiZkfjbkmghd
32 Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
JbkmghdWlZiuhij_^_e_gbywe_f_glh\lbiZ©FZkkb\ª
DeZkl_ju Wlhl keh`guc lbi ij_^klZ\ey_l kh[hc kh\hdmighklv we_f_glh\jZaebqguolbih\bba\_kl_g\^jm]boyaudZoijh]jZffbjh\Zgby ih^ gZbf_gh\Zgbyfb ©kljmdlmjZª ©VWUXFWª ©aZibkvª ©UHFRUGª beb ©dhjl_`ª ey lh]h qlh[u ©kdhgkljmbjh\Zlvª wlhl keh`guc lbi ^Zgguo s_edgbl_ ijZ\hc dghidhc furb \gmljb jZfdb b \u[_jbl_ ba \kieu\Zxs_]h f_gx kj_^kl\h mijZ\e_gby beb bg^bdZlhj `_eZ_fh]hlbiZjbkmghd
JbkmghdBg^bdZlhjlbiZ©DeZkl_jª
Kljhdb < iZeblj_ ©6WULQJ 7DEOHª ijbkmlkl\mxl kj_^kl\Z mijZ\e_gby b bg^bdZlhju iha\heyxsb_ \\h^blv k deZ\bZlmju b hlh[jZ`Zlvl_dklh\u_kljhdb Ijbf_qZgb_ Ke_^m_l hlebqZlv kljhdh\u_ kj_^kl\Z mijZ\e_gby b bg^bdZlhju hl hq_gv ihoh`bo gZ gbo \g_rg_ h[t_dlh\ i_j_^g_c iZg_eb lbiZ ©)LOH 3DWKª ©Imlv d nZcemª Wlhllbibkihevam_lky^eyaZ^Zgbybf_gbnZceZijbhi_jZpbyo^bkdh\h]h\\h^Z\u\h^Z Kljhdh\uclbi^eywlhcp_ebbkihevah\Zlvkyg_fh`_l
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
33
F_gx b ^bZeh]b < iZeblj_ ©/LVW 5LQJª ©Kibkhd b k\blhdª ^hklmigu kj_^kl\Z mijZ\e_gby ij_^gZagZq_ggu_ ^ey hj]ZgbaZpbb ^bZeh]h\h]h \aZbfh^_ckl\by k ihevah\Zl_e_f kf jbkmghd
JbkmghdIZebljZ©/LVW 5LQJª
Ijbgpbiu jZ[hlu kj_^kl\ mijZ\e_gby wlhc ]jmiiu jZkkfhljbf gZ ijbf_j_ h[t_dlZ lbiZ ©0HQX 5LQJª ©F_gxk\blhdª JZaf_klbl_ _]h gZ ebp_\hc iZg_eb Hg ij_^klZ\ey_l kh[hc ©jZa\hjZqb\Zxsbcky k\blhdª imgdlh\we_f_glh\ f_gxkdZ`^ufbadhlhjuok\yaZgZl_dklh\Zyf_ldZ jZkdju\ZxsZy kfuke wlh]h imgdlZ KjZam ihke_ kha^Zgby ©k\blhdª kh^_j`bl lhevdh h^bg imklhc we_f_glS_edZy ijZ\hc dghidhc furb ih h[t_dlm b \u[bjZy ba \kieu\Zxs_]h f_gx ©$GG ,WHP $IWHUª ©>h[Z\blv we_f_gl ihke_ l_dms_]hª ©$GG ,WHP %HIRUHª ©
H[t_dlu[ehdko_fu ;ehdko_fZ
34 Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
<iZeblj_©$ULWKPHWLFª©:jbnf_lbdZª kh^_j`ZlkynmgdpbhgZevgu_maeu \uihegyxsb_ Zjbnf_lbq_kdb_ b eh]bq_kdb_ hi_jZpbb gZ^ qbkeh\ufb ^ZggufbgZijbf_jma_e©Mfgh`_gb_ª < iZeblj_ ©7ULJ /RJª ©Ljb]hghf_ljbq_kdb_ b eh]Zjbnfbq_kdb_ª kh^_j`Zlky maeu j_Zebamxsb_ ljb]hghf_ljbq_kdb_ b eh]Zjbnfbq_kdb_ nmgdpbb jZaebqguo \b^h\ gZijbf_j ma_e ©Kbgmk hl p_ehqbke_ggh]h Zj]mf_glZª < iZeblj_ ©&RPSDULVRQª ©KjZ\g_gb_ª kh^_j`Zlky maeu \uihegyxsb_ hi_jZpbbkjZ\g_gbyagZq_gbcjZaebqguolbih\gZijbf_jma_e©KjZ\g_gb_ kgme_fª < iZeblj_ ©&RQYHUVLRQª ©Ij_h[jZah\Zgb_ª kh^_j`Zlky maeu \uihegyxsb_ij_h[jZah\Zgbybah^gh]hlbiZ^Zgguo\^jm]hcgZijbf_j ma_e ©Ij_h[jZah\Zgb_ eh]bq_kdh]h agZq_gby \ khhl\_lkl\mxsbc we_f_gl qbkeh\h]hfgh`_kl\Z^`ª < iZeblj_ ©6WULQJª ©KljhdZª kh^_j`Zlky nmgdpbhgZevgu_ maeu \uihegyxsb_ jZaebqgu_ hi_jZpbb gZ^ l_dklh\ufb kljhdZfb gZijbf_j ma_e©
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
35
Ke_^mxsb_ ]jmiiu [b[ebhl_qguo dhfihg_glh\ /DE9,(: g_ y\eyxlky h[yaZl_evgufb Hgb fh]ml ijbkmlkl\h\Zlv beb hlkmlkl\h\Zlv \ aZ\bkbfhklbhl\ZjbZglZbgklZeeypbbkbkl_fu < iZeblj_ ©$QDO\VLVª ©:gZebaª kh^_j`Zlky nmgdpbhgZevgu_ maeu j_Zebamxsb_ jZkijhkljZg_ggu_ Ze]hjblfu h[jZ[hldb b ZgZebaZ ^Zgguo gZijbf_j ma_e ©
4.1. MijZ\eyxsb_kljmdlmju >ey hj]ZgbaZpbb \uqbkebl_evgh]h ijhp_kkZ \ /DE9,(: bf__lky gZ[hj mijZ\eyxsbokljmdlmjZgZeh]bqguol_fdZdb_bkihevamxlky\l_dklh\uo yaudZo ijh]jZffbjh\Zgby Hgb ojZgylky \ iZeblj_ ©6WUXFWV &RQVWDQWVª ©KljmdlmjubdhgklZgluª 4.1.1. KljmdlmjZ ©&$6(ª ©
36 Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
©L_dmsbcª dZ^j hij_^_ey_lky agZq_gb_f ih^Z\Z_fuf gZ l_jfbgZe mkeh\by kljmdlmju gZ ijyfhm]hevguc we_f_gl ihf_q_gguc agZdhf ©"ª jZkiheh`_gguc gZ e_\hc klhjhg_ jZfdb kljmdlmju ?keb dhebq_kl\h dZ^jh\ jZ\gh ^\mf lh wlhl l_jfbgZe \hkijbgbfZ_l eh]bq_kdb_ agZq_gby ©758(ª ©BKLBG:ª b ©)$/6(ª ©EH@Vª \ ijhlb\ghf kemqZ_ hg \hkijbgbfZ_lp_eu_qbkeZghf_jZdZ^jh\ S_edgbl_ ijZ\hc dghidhc furb gZ jZfd_ kljmdlmju b \ ihy\b\r_fky \kieu\Zxs_ff_gx\u[_jbl_ • $GG&DVH$IWHU©>h[Z\blvdZ^jihke_ª _kebeym^Ze_gbyrexaZ jZaf_lvl__]h©klj_ehqdhcªbgZ`fbl_deZ\brm©'HOª Ijbf_qZgb_ ?keb gZ jZfd_ kljmdlmju ©&$6(ª ijbkmlkl\m_l rexa ^Zgguo lh k\yab k gbf^he`gu[ulvhij_^_e_gu\h\k_odZ^jZokljmdlmju
GZ jbkmgd_ ij_^klZ\e_g ijhklhc ijbf_j bkihevah\Zgby kljmdlmju ©&$6(ª njZ]f_gl [ehdko_fu jZkklZ\eyxsbc ^\Z qbkeZ ; b < ©ih jZg`bjmª
JbkmghdBkihevah\Zgb_kljmdlmju©&$6(ª
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
37
Pbdeu b k^\b]h\uc j_]bklj Pbdeu ©:+,/(ª ©IhdZª b ©)25ª ©>eyª kem`Zl ^ey hj]ZgbaZpbb bl_jZlb\gh]h ih\lhjyxs_]hky \uiheg_gbynjZ]f_glZ[ehdko_fuihf_s_ggh]h\gmljvbojZfdbJZaf_j bojZfdbfh`_l[ulvbaf_g_gijbihfhsb©klj_ehqdbª Pbde ©:+,/(ª h[yaZl_evgh kh^_j`bl \gmljb jZfdb ^\Z ij_^hij_^_e_gguo dhfihg_glZ l_jfbgZe mkeh\by aZ\_jr_gby b kq_lqbd bl_jZpbc L_jfbgZe mkeh\by aZ\_jr_gby wlh fZe_gvdZy d\Z^jZlgZy ibdlh]jZffZ a_e_gh]h p\_lZ \ ijZ\hf gb`g_f m]em jZfdb pbdeZ Hg kihkh[_g \hkijbgbfZlv lhevdh eh]bq_kdb_ agZq_gby ©758(ª ©BKLBG:ª b ©)$/6(ª ©EH@Vª b ij_^gZagZq_g ^ey mijZ\e_gby \uiheg_gb_f pbdeZ njZ]f_gl [ehdko_fu \gmljb jZfdb pbdeZ [m^_l ih\lhjylvky ^h l_o ihj ihdZgZwlhll_jfbgZeih^Z_lkyagZq_gb_©758(ª©BKLBG:ª Kq_lqbdbl_jZpbcd\Z^jZlgZyibdlh]jZffZk[md\hc©Lª\gmljb kh^_j`bl p_eh_ qbkeh ghf_j l_dms_]h ih\lhj_gby njZ]f_glZ [ehdko_fu aZdexq_ggh]h\jZfd_pbdeZ Pbde ©)25ª kh^_j`bl \gmljb jZfdb pbdeZ ZgZeh]bqguc kq_lqbd bl_jZpbc Z \ e_\hf \_jog_f m]em jZfdb gZoh^blky l_jfbgZe qbkeh\h]h ij_^_eZ d\Z^jZlgZy ibdlh]jZffZ k [md\hc ©1ª \gmljb Wlhl l_jfbgZe \hkijbgbfZ_lp_ehqbke_ggh_agZq_gb_ihklmiZxs__ba\g_jZfdbpbdeZ wlhdhebq_kl\hih\lhj_gbcdhlhjh_^he`_gkh\_jrblvpbde NjZ]f_glu[ehdko_fujZkiheZ]Zxsb_ky\gmljbjZfhdpbdeh\©:+,/(ª b ©)25ª fh]ml h[f_gb\Zlvky ^Zggufb k \g_rgbfb h[t_dlZfb q_j_a rexau ^Zgguo jZkiheh`_ggu_ gZ jZfdZo kljmdlmju Rexau ^Zgguo kha^ZxlkyZ\lhfZlbq_kdbijbijh\_^_gbbbgkljmf_glhf©dZlmrdZªk\ya_c q_j_ajZfdmpbdeZKe_^m_lbf_lv\\b^mqlhihjh`^_ggu_\gmljbpbdeZ kdZeyju\h\j_fy_]hpbdeZ jZ[hlugZdZieb\ZxlkygZ_]hpbdeZ jZfd_b ihke_aZ\_jr_gbyihke_^g_cbl_jZpbbh[jZamxlfZkkb\uagZq_gbc Djhf_lh]hijbihfhsbk^\b]h\uoj_]bkljh\\hafh`gZi_j_^ZqZ^Zgguo bah^ghcbl_jZpbb\^jm]mx S_edgbl_ ijZ\hc dghidhc furb gZ jZfd_ pbdeZ b \u[_jbl_ \h \kieu\Zxs_f f_gx imgdl ©$GG 6KLIW 5HJLVWHUª ©>h[Z\blv k^\b]h\uc j_]bkljª GZe_\hcbijZ\hcklhjhgZojZfdbpbdeZihy\ylkykbff_ljbqgh jZkiheh`_ggu_ rexau k^\b]h\uo j_]bkljh\ IjZ\uc rexa kh^_j`Zsbc bah[jZ`_gb_gZijZ\e_gghc\\_joklj_ehqdbiha\hey_li_j_^Z\Zlv^Zggu_ ba l_dms_c bl_jZpbb \ ke_^mxsmx E_\uc rexa kh^_j`Zsbc bah[jZ`_gb_gZijZ\e_gghc\gbaklj_ehqdbiha\hey_l\l_dms_cbl_jZpbb ijbgbfZlv^Zggu_baij_^u^ms_c
38 Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
LZd`_ijbihfhsbk^\b]h\uoj_]bkljh\\hafh`_gh[f_g^Zggufbf_`^m ©^Ze_dh hlklhysbfbª bl_jZpbyfb S_edgbl_ ijZ\hc dghidhc furb gZ h^ghfbarexah\k^\b]h\h]hj_]bkljZb\u[_jbl_ba\kieu\Zxs_]hf_gx ©$GG (OHPHQWª ©>h[Z\blv we_f_glª D rexam [m^_l ^h[Z\e_g _s_ h^bg we_f_gliha\heyxsbc©aZ]eygmlvªgZh^gmbl_jZpbx^Zevr_\©ijhreh_ª beb ©[m^ms__ª \ aZ\bkbfhklb hl lh]h gZ e_\hf beb ijZ\hf rexa_ \uihegyeZkv wlZ hi_jZpby M^Zeylv we_f_glu fh`gh ijb ihfhsb imgdlZ ©5HPRYH (OHPHQWª ©M^Zeblv we_f_glª lh]h `_ f_gx <_kv k^\b]h\uc j_]bklj fh`gh m^Zeblv ijb ihfhsb imgdlZ ©5HPRYH $//ª ©M^Zeblv \k_ª GZ jbkmgd_ ijb\_^_g ijbf_j bkihevah\Zgby pbdeh\ b k^\b]h\uo j_]bkljh\ ^ey k]eZ`b\Zgby wdki_jbf_glZevguo ^Zgguo f_lh^hf kdhevays_]hkj_^g_]hihflhqdZf
JbkmghdBkihevah\Zgb_pbdeZ©:+,/(ªbk^\b]h\uoj_]bkljh\ \
4.1.2. KljmdlmjZ ©6(48(1&(ª ©Ihke_^h\Zl_evghklvª < /DE9,(: ijbf_g_gZ ko_fZ bkihevamxsZy ^ey hj]ZgbaZpbb \uqbkebl_evgh]h ijhp_kkZijbgpbimijZ\e_gbyihlhdZfb^ZgguoWlhhagZqZ_lqlh gb h^bg ma_e gb h^bg njZ]f_gl [ehdko_fu g_ gZqg_l k\h_ \uiheg_gb_ ^h l_o ihj ihdZ gZ \k_o _]h \oh^guo k\yayog_ihy\ylkylj_[m_fu_^Zggu_. K^jm]hcklhjhgu maeubnjZ]f_glug_aZ\bkysb_^jm]hl^jm]Zih^Zgguf aZimkdZxlky \ ijhba\hevghf ihjy^d_ b \uihegyxlky iZjZee_evgh. Qlh[u h[_ki_qblv g_h[oh^bfmx ihke_^h\Zl_evghklv bkiheg_gby g_ aZ\bkysbo ^jm] hl ^jm]Z njZ]f_glh\ [ehdko_fu \ /DE9,(: bkihevam_lky kljmdlmjZ ©6(48(1&(ª ©Ihke_^h\Zl_evghklvª HgZ khklhbl ba g_kdhevdbo ihke_^h\Zl_evgh ijhgmf_jh\Zgguo dZ^jh\ nj_cfh\ KgZqZeZ \uihegy_lky njZ]f_gl [ehdko_fu jZaf_s_gguc \ gme_\hfdZ^j_ihlhf\i_j\hfbl^
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
39
S_edgbl_ ijZ\hc dghidhc furb gZ jZfd_ kljmdlmju b \ ihy\b\r_fky \kieu\Zxs_ff_gx\u[_jbl_ • $GG )UDPH $IWHU ©>h[Z\blv dZ^j ihke_ª _keb ey i_j_^Zqb ^Zgguo ba h^gh]h dZ^jZ kljmdlmju ©6(48(1&(ª \ ^jm]hc bkihevamxlky ehdZevgu_ i_j_f_ggu_ ihke_^h\Zl_evghklb S_edgbl_ ijZ\hc dghidhc furb gZ jZfd_ kljmdlmju b ba \kieu\Zxs_]h f_gx \u[_jbl_ $GG 6HTXHQFH /RFDO ©>h[Z\blv ehdZevgmx i_j_f_ggmx ihke_^h\Zl_evghklbª GZ jZfd_ l_dms_]h dZ^jZ b \k_o ihke_^mxsbo dZ^jh\ ihy\blky ijhajZqguc ijyfhm]hevguc rexa ehdZevghc i_j_f_gghc Dh]^Z
>ey m^Ze_gby ehdZevghc i_j_f_gghc kljmdlmju ©6(48(1&(ª s_edgbl_ ijZ\hcdghidhcfurbgZ__l_jfbgZe_b\u[_jbl_5HPRYH©M^Zeblvª
JbkmghdBkihevah\Zgb_kljmdlmju©6(48(1&(ª
GZjbkmgd_ijb\_^_gijbf_jbkihevah\Zgbykljmdlmju©6(48(1&(ª njZ]f_gl
40 Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
EhdZevgu_b]eh[Zevgu_i_j_f_ggu_ >ey h[e_]q_gby kha^Zgby keh`guo [ehdko_f k [hevrbf dhebq_kl\hf jZaghgZijZ\e_gguo k\ya_c \ /DE9,(: ij_^mkfhlj_gu f_oZgbafu ehdZevguo b ]eh[Zevguo i_j_f_gguo Ih kmlb hgb ij_^klZ\eyxl kh[hc ©m^Ze_ggu_dhibbªl_jfbgZeh\^eyh[t_dlh\ebp_\hciZg_ebIjZ\beZbo ihkljh_gby b bkihevah\Zgby jZkkfhljbf gZ ijbf_j_ ehdZevguo i_j_f_gguo RZ] S_edgbl_ ijZ\hc dghidhc furb \ ex[hc ihabpbb hdgZ [ehd ko_fu b \ iZeblj_ ©6WUXFWV &RQVWDQWVª ©Kljmdlmju b dhgklZgluª \u[_jbl_ma_e©/RFDO9DULDEOHª©EhdZevgZyi_j_f_ggZyª RZ] S_edgbl_ ijZ\hc dghidhc furb gZ ibdlh]jZff_ ihy\b\r_]hky maeZ b \h \kieu\Zxs_f f_gx \u[_jbl_ imgdl ©6HOHFW ,WHPª ©
Ihke_kha^ZgbyehdZevghci_j_f_gghc
Jbkmghd
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
41
Ij_bfms_kl\Z bkihevah\Zgby ehdZevguo i_j_f_gguo ijh^_fhgkljbjm_f gZijbf_j_
Nhjfmevgucma_e KljmdlmjZ ih^ gZa\Zgb_f nhjfmevguc ma_e bkihevam_lky \ /DE9,(: ^ey mijhs_gby kha^Zgby [ehdko_f j_Zebamxsbo \uqbke_gby ih keh`guf fZl_fZlbq_kdbfnhjfmeZf RZ] S_edgbl_ ijZ\hc dghidhc furb \ ex[hc ihabpbb hdgZ [ehd ko_fu b \ iZeblj_ ©6WUXFWV &RQVWDQWVª ©Kljmdlmju b dhgklZgluª \u[_jbl_ma_e©)RUPXOD1RGHª©Nhjfmevgucma_eª M\_ebqvl_jZaf_ju ihy\b\r_cky jZfdb ^h g_h[oh^bfhc \_ebqbgu ijb ihfhsb bgkljmf_glZ ©klj_ehqdZª RZ] S_edgbl_ ijZ\hc dghidhc furb gZ e_\hc b ijZ\hc klhjhgZo jZfdb\h\kieu\Zxs_ff_gx\u[_jbl_imgdlu©$GG,QSXWª©>h[Z\blv \oh^ª b beb ©$GG 2XWSXWª ©>h[Z\blv \uoh^ª HaZ]eZ\vl_ kha^Zggu_ lZdbf h[jZahf rexau \oh^guo b \uoh^guo i_j_f_gguo ijb ihfhsb bgkljmf_glZ©[mdh\dZª RZ] Ijb ihfhsb bgkljmf_glZ ©[mdh\dZª \\_^bl_ \gmljv jZfdb l_dkl nhjfmeukh^_j`Zsbc\dZq_kl\_khklZ\guowe_f_glh\bf_gZ\oh^guob \uoh^guoi_j_f_gguo KbglZdkbk nhjfme ihoh` gZ bkihevam_fuc \ yaud_ Kb b lj_[m_l bkihevah\Zgbyke_^mxsboh[hagZq_gbc • «=ªijbk\h_gb_ • «? :ªmkeh\gh_\ujZ`_gb_\klbe_yaudZKbgZijbf_jy=x>0?1:0); • «||ªeh]bq_kdh_©BEBª • © ªeh]bq_kdh_©Bª • «!=ªb©==ªg_jZ\_gkl\hbjZ\_gkl\h • «<», «>», «<=ªb©>=ª^jm]b_hlghr_gby©f_gvr_ª©[hevr_ª ©f_gvr_bebjZ\ghª©[hevr_bebjZ\ghª • «+ªb©-ªkeh`_gb_b\uqblZgb_
42 Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
• «*ªb©/ªmfgh`_gb_b^_e_gb_ • «+», «-», «!ª mgZjgu_ hi_jZpbb iheh`bl_evghklv hljbpZl_evghklv eh]bq_kdh_©G?ª • «^ª\ha\_^_gb_\kl_i_gv
JZaj_r_gh bkihevah\Zgb_ g_kdhevdbo hi_jZlhjh\ jZa^_e_gguo kbf\hehf ©ª lhqdZ k aZiylhc
abs(x)Z[khexlgZy\_ebqbgZ[ acos(x)Zjddhkbgmk[\jZ^bZgZo acosh(x)]bi_j[hebq_kdbcZjddhkbgmko\jZ^bZgZo asin(x)Zjdkbgmko\jZ^bZgZo asinh(x)]bi_j[hebq_kdbcZjdkbgmko\jZ^bZgZo atan(x,y)ZjdlZg]_gk^ey[\\jZ^bZgZo atanh(x)]bi_j[hebq_kdbcZjdlZg]_gko\jZ^bZgZo ceil(x)[eb`Zcr__p_eh_[hevr__q_f[ cos(x)dhkbgmko\jZ^bZgZo cosh(x)]bi_j[hebq_kdbcdhkbgmko\jZ^bZgZo cot(x)dhlZg]_gko\jZ^bZgZo csc(x)dhk_dZgko\jZ^bZgZo exp(x)agZq_gb__\ha\_^_ggh_\kl_i_gvo explm(x)agZq_gb__\ha\_^_ggh_\kl_i_gvofbgmk_^bgbpZ floor(x)[eb`Zcr__p_eh_f_gvr__q_f[ getexp(x)ihjy^hd getman(x)fZglbkkZ intrz(x)[eb`Zcr__d[p_eh_jZaf_s_ggh_f_`^mbo ln(x)gZlmjZevguceh]Zjbnfo lnpl(x)gZlmjZevguceh]Zjbnf^eyo log(x)^_kylbqguceh]Zjbnfo log2(x)^\hbqguceh]Zjbnfo max(x,y)fZdkbfmfbaobm min(x,y)fbgbfmfbaobm mod(x,y)\_s_kl\_gguchklZlhdhl^_e_gbyogZm rand()kemqZcgh_qbkehjZ\ghf_jghjZkij_^_e_ggh_gZbgl_j\Ze_hl ^h rem(x,y)p_euchklZlhdhl^_e_gby[gZ\ sec(x)\uqbkey_lk_dZgko\jZ^bZgZo sign(x)agZdqbkeZ[ sin(x)kbgmko\jZ^bZgZo sinc(x)kbgmko^_e_ggucgZo\jZ^bZgZo sinh(x)]bi_j[hebq_kdbckbgmko\jZ^bZgZo sqrt(x)d\Z^jZlgucdhj_gvo tan(x)lZg]_gko\jZ^bZgZo tanh(x)]bi_j[hebq_kdbclZg]_gko\jZ^bZgZo x^yagZq_gb_o\kl_i_gbm
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
43
JbkmghdBkihevah\Zgb_nhjfmevgh]hmaeZ
GZ jbkmgd_ ijb\_^_g ijbf_j bkihevah\Zgby nhjfmevgh]h maeZ ^ey \uqbke_gbynZdlhjbZeZihijb[eb`_gghcnhjfme_Klbjebg]Zkfi
JbkmghdG_dhlhju_
;hevrbgkl\h nZceh\uo
44 Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
GZ\oh^©j_`bfhldjulbyª©RSHQPRGHª wlboZggu_ i_j_^ZxlkyijbgbfZxlkyq_j_a\oh^gu_beb\uoh^gu_k\yabihf_q_ggu_ dZd ©GDWDª ?keb dh \oh^m ©lbi ihlhdZ [Zclh\ª ©E\WH VWUHDP W\SHª ijbkh_^bg_gh agZq_gb_ dZdh]heb[h lbiZ lh wlb hi_jZpbb [m^ml \uihegylvkygZ^[ehdZfb^Zgguokhhl\_lkl\mxs_]hlbiZLZd`_wlb
JbkmghdIh[Zclh\h_ql_gb_ba^\hbqgh]hnZceZ
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
45
< iZeblj_ ©8WLOLW\)LOHª ©NZceh\u_ mlbebluª kh^_j`blky [hevrh_ dhebq_kl\h
JbkmghdAZibkvkljhdb\l_dklh\ucnZce
Ijbf_j ijbf_g_gby wlh]h
46 Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
Jbkmghd
Bkihevam_fucihjl\
Bgl_jn_cku gZ jZaguo dhgpZo ebgbb k\yab ^he`gu [ulv kh]eZkh\Zgu ih j_`bfm i_j_^Zqb ^Zgguo >ey gZkljhcdb &20ihjlZ IW
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
47
JbkmghdQl_gb_^Zgguobaihke_^h\Zl_evgh]hihjlZ&20
K_l_\h_ijh]jZffbjh\Zgb_ Ih^ Z[[j_\bZlmjhc ©7&3,3ª h[uqgh ihgbfZ_lky k_f_ckl\h k_l_\uo l_ogheh]bchkgh\ZgguogZ^\moijhlhdheZo • 7&3 7UDQVPLVVLRQ &RQWURO 3URWRFRO ijhlhdhe mijZ\e_gby i_j_^Zq_c dhlhjuc hl\_qZ_l aZ nhjfbjh\Zgb_ b ^hklZ\dm ©iZd_lh\ª ^Zgguo GDWDJUDPV hlh^gh]hmaeZk_lbd^jm]hfm • ,3 ,QWHUQHW 3URWRFRO f_`k_l_\hc ijhlhdhe dhlhjuc hl\_qZ_l aZ fZjrjmlbaZpbx\k_lbkhklhys_cbafgh`_kl\Zmaeh\ DZ`^uc ma_e k_lb dhfivxl_j ijb[hj b li b^_glbnbpbjm_lky mgbdZevguf[Zclh\uf,3Z^j_khfdhlhjucljZ^bpbhgghaZibku\Z_lky\ \b^_ $$$%%%&&&''' BgnhjfZpbhggh_ \aZbfh^_ckl\b_ f_`^m maeZfb h[uqgh hkms_kl\ey_lky ih ko_f_ ©deb_glk_j\_jª ijbq_f gZ h^ghf mae_ \hafh`gZ h^gh\j_f_ggZy jZ[hlZ g_kdhevdbo k_j\_jh\ jZaebqZxsbokymgbdZevgufqbkeh\ufb^_glbnbdZlhjhfghf_jhfihjlZ Ghf_jZ ihjlh\ ^ey k_j\_jh\ klZg^Zjlguo kem`[ b ijhlhdheh\ nbdkbjh\Zgu (FKR +773 323 b li ihwlhfm ^ey ihevah\Zl_evkdbogm`^j_dhf_g^m_lkybkihevah\ZlvagZq_gby\bgl_j\Ze_ 4097-65535.
Jbkmghd
48 Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
ey ij_h[jZah\Zgby ^Zgguo ex[h]h \b^Z \ l_dklh\mx nhjfm p_e_khh[jZagh bkihevah\Zgb_
JbkmghdIjbf_jk_l_\h]hk_j\_jZ
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
49
Lbibqgufb ^_ckl\byfb k_l_\h]h deb_glZ y\eyxlky ihiuldZ hldjulv kh_^bg_gb_ h[f_g ^Zggufb k k_j\_jhf aZdjulb_ kh_^bg_gby Ijbf_jijhklh]h
JbkmghdIjbf_jk_l_\h]hdeb_glZ Ijbf_qZgb_ MklZgh\e_gb_ kh_^bg_gby f_`^m deb_glhf b k_j\_jhf _s_ g_ ]ZjZglbjm_l mki_rgh]h h[f_gZ ^Zggufb ihwlhfm mdZaZgguc wlZi j_dhf_g^m_lky ih\lhjylv \ pbde_ dZ`^ucjZadhgljhebjmydh^hrb[db\ha\jZsZ_fucgZ\uoh^_©HUURURXWª
JZkrbj_ggu_\hafh`ghklb/DE9,(: Kj_^kl\ZhleZ^db\bjlmZevguoijb[hjh\ Ihbkd b mkljZg_gb_ hrb[hd IjbagZdhf jZ[hlhkihkh[gh]h ey lh]h qlh[u hij_^_eblv f_klhiheh`_gb_ b \b^ hrb[db s_edgbl_ e_\hc dghidhc furb ih jZajmr_gghc klj_ehqd_ GZ wdjZg_ ihy\blky ^hihegbl_evgh_hdgh©(UURU/LVWª©Kibkhdhrb[hdª kf_gxkh^_j`Zsbf \ dZq_kl\_ we_f_glh\ gZbf_gh\Zgby bf_xsboky hrb[hd ey \dexq_gby j_`bfZ hleZ^db gZ`fbl_ gZ dghidm kh^_j`Zsmx bah[jZ`_gb_ ©dZjZg^ZrbdZª b ©klj_ehqdbª Dh]^Z gZ wlhc dghid_ ©klj_ehqdZª jZkiheZ]Z_lky ih\_jo ©dZjZg^ZrbdZª lh \dexq_g j_`bf hleZ^db\ijhlb\ghfkemqZ_/DE9,(:gZoh^blky\©ghjfZevghfªj_`bf_ kha^Zgbyj_^Zdlbjh\Zgbyb\uiheg_gby
50 Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
JbkmghdIZg_evdghihd©[ukljh]h^hklmiZª\jZaguoj_`bfZo
Ihjy^hd jZ[hlu njZ]f_glh\ [ehdko_fu m^h[gh ijh\_jylv \ j_`bf_ ihrZ]h\h]h bkiheg_gby Wlhl j_`bf \dexqZ_lky b \udexqZ_lky ki_pbZevghc dghidhc gZ iZg_eb hleZ^db < \udexq_gghf khklhygbb gZ wlhcdghid_bah[jZ`_gZijyfZyebgby\h\dexq_gghff_Zg^j Ihke_ aZimkdZ
Ijhf_`mlhqgu_ j_amevlZlu \uqbke_gbc ihemq_ggu_ ijb jZ[hl_
JbkmghdJZ[hlZ
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
51
>ey hleZ^db eyZ\Zjbcgh]hij_ju\ZgbyjZ[hlu
Ma_ebgl_jn_ckZd\g_rg_fmdh^m < kemqZ_ mijZ\e_gby g_klZg^Zjlguf h[hjm^h\Zgb_f beb ijbf_g_gby keh`guo Ze]hjblfh\ h[jZ[hldb ^Zgguo \hagbdZ_l g_h[oh^bfhklv bkihevah\Zgby \
IjZ\beZdhgnb]mjbjh\Zgby&,1maeh\jZkkfhljbfgZdhgdj_lghfijbf_j_ Lj_[m_lky kha^Zlv nmgdpbhgZevguc ma_e \uihegyxsbc ql_gb_ kh^_j`bfh]hba^\hbqgh]hnZceZih[Zclh\mxkhjlbjh\dm^Zgguo b aZibkv j_amevlZlZ \ ^jm]hc nZce
52 Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
JbkmghdK\yau\Zgb_l_jfbgZeh\kh\oh^Zfb&,1maeZ Ijbf_qZgb_ Ibdlh]jZffZ &,1maeZ bf__l \b^ ©lZ[ebqdbª DZ`^Zy kljhdZ lZ[ebqdb jZa^_e_gZgZ^\Ziheyghkhhl\_lkl\m_lh^ghfmiZjZf_ljm
RZ] Ijb ihfhsb bgkljmf_glZ ©dZlmrdZª k\y`bl_ l_jfbgZeu kj_^kl\ mijZ\e_gbykkhhl\_lkl\mxsbfb\oh^ZfbmaeZ RZ] S_edgbl_ ijZ\hc dghidhc furb gZ ibdlh]jZff_ &,1maeZ b \u[_jbl_ ba \kieu\Zxs_]h f_gx imgdl ©&UHDWH F ILOHª ©Kha^Zlv nZce k l_dklhfgZyaud_Kbª <ihy\b\r_ckynhjf_ hij_^_ebl_^ey wlh]h nZceZ bfy gZijbf_j example.c b f_klhiheh`_gb_ gZijbf_j \ dZlZeh]_ c:\example). Ijbf_qZgb_</DE9,(:\_jkbbwlhlimgdlf_gxgZau\Z_lky©&UHDWHKILOHª©Kha^Zlv aZ]heh\hqguc nZceª NZce k l_dklhf ijh]jZffu gZ yaud_ Kb ihevah\Zl_ev ^he`_g kha^Z\ZlvkZfhklhyl_evgh
RZ] H[jZlbl_kv dh \gh\v kha^Zgghfm nZcem Hg bf__l ke_^mxsbc \b^ dhff_glZjbbi_j_\_^_gugZjmkkdbcyaud Bkoh^gucdh^^ey&,1maeZ #include "extcode.h" AZ]emrdb^eyg_h[yaZl_evguonmgdpbc UseDefaultCINInit UseDefaultCINDispose UseDefaultCINAbort UseDefaultCINLoad UseDefaultCINUnload UseDefaultCINSave CIN MgErr CINRun(Path _, Path _); CIN MgErr CINRun(Path _, Path _) { <BL?KKX>: return noErr; }
©=eZ\gZyªnmgdpby&,1maeZghkblgZbf_gh\Zgb_CINRun()Bf_ggh\g__ lj_[m_lky ihf_klblv l_dkl Ze]hjblfZ gZ yaud_ Kb \uihegyxsbc lj_[m_fu_^_ckl\by
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
53
RZ] < l_dkl_ hibku\Zxs_f Ze]hjblf jZ[hlu &,1maeZ aZij_s_gh bkihevah\Zgb_ klZg^Zjlguo ^ey yaudZ Kb nmgdpbc b hibkZl_e_c lbih\ i_j_f_gguo 1)&&(b[j-1]>b[j])) tmp=b[j]; b[j]=b[j-1]; b[j-1]=tmp; j--; } }
{
FMWrite (f2, BUFSIZE, &q, b); FMClose (f1); FMClose (f2); DSDisposePtr(b); return noErr; }
RZ]Hldhfibebjmcl_ihemq_ggucnZceexample.c. Dhfibeypby [blh\h]h &,1dh^Z ^ey /DE9,(: [ b [ fh`_l hkms_kl\eylvky lhevdh ijb ihfhsb dhfibeylhjZ nbjfu :DWFRP Ij_^iheh`bf qlh wlhl dhfibeylhj mklZgh\e_g \ dZlZeh]_ F?ZDWFRP Z kbkl_fZ /DE9,(: \ dZlZeh]_ F?ODEYLHZ >ey hibkZgby
AZimklbl_dhfibeypbxdhfZg^hcwmake /f example.lvm.
54 Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
Dhfibeypby [blh\h]h &,1dh^Z ^ey /DE9,(: [ b [ fh`_l hkms_kl\eylvky ijb ihfhsb dhfibeylhjZ 9LVXDO && nbjfu 0LFURVRIW Ij_^iheh`bf qlh wlhl dhfibeylhj mklZgh\e_g \dZlZeh]_ F?YF Z kbkl_fZ /DE9,(: \ dZlZeh]_ F?ODEYLHZ Ijhke_^bl_ qlh[u \ ]eh[Zevghc kbkl_fghc kj_^_ bf_ehkv hij_^_e_gb_ &,1722/6',5 &?/$%9,(:?&,1722/6 >ey hibkZgby
AZimklbl_dhfibeypbxdhfZg^hcnmake /f example.lvm. RZ] J_amevlZlhf mki_rghc dhfibeypbb ^he`_g [ulv nZce k jZkrbj_gb_fOVEgZijbf_jexample.lsbS_edgbl_ijZ\hcdghidhcfurb gZ ibdlh]jZff_ &,1maeZ \u[_jbl_ \ f_gx imgdl ©/RDG &RGH 5HVRXUFHª ©AZ]jmablv dh^h\uc j_kmjkª b mdZ`bl_ \ ihy\b\r_cky nhjf_
Ijbf_jbkihevah\Zgby/DE9,(: Jy^lbibqguoijb_fh\bkihevam_fuoijbijh]jZffbjh\ZgbbgZ/DE9,(: aZ^Zqj_Zevgh]h\j_f_gbijhbeexkljbjm_fgZdhgdj_lghfijbf_j_ Lj_[m_lky hkms_kl\blv pbnjh\mx j_]bkljZpbx k qZklhlhc d=p kemqZcgh]h ijhp_kkZ ij_^klZ\eyxs_]h kh[hc ^bgZfbq_kdb baf_gyxs__ky \ ^bZiZahg_ < gZijy`_gb_ < dZq_kl\_ kj_^kl\Z baf_j_gby bkihevah\Zlv a\mdh\mx dZjlm
6.1. Mkljhckl\hbijh]jZffbjh\Zgb_a\mdh\hcdZjlu Kh\j_f_ggu_ a\mdh\u_ dZjlu ij_^klZ\eyxl kh[hc keh`gu_ fgh]hnmgdpbhgZevgu_mkljhckl\Zkh^_j`Zsb_\ukhdhlhqgu_jZajy^ghklv [blZ [ukljh^_ckl\mxsb_ \j_fy ij_h[jZah\Zgby fdk :PI b P:Ikfjbkmghd
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
55
JbkmghdNmgdpbhgZevgZyko_fZa\mdh\hcdZjlu
GZ wlhf jbkmgd_ ©/,1( ,1ª ebg_cguc \oh^ ©0,&ª \oh^ k fbdjhnhgZ ©/,1(287ªebg_cguc\uoh^©63.5ª\uoh^gZgZmrgbdbbeb\g_rgb_ ^bgZfbdb ©Nª ZgZeh]h\u_ nbevlju ©Mª mkbebl_eb ZgZeh]h\uo kb]gZeh\ ©'63ª ijhp_kkhj pbnjh\uo kb]gZeh\ GZ '63 \haeh`_gh [hevrh_dhebq_kl\haZ^ZqihmijZ\e_gbxijhp_kkZfbZgZeh]h\hpbnjh\h]h b pbnjhZgZeh]h\h]h ij_h[jZah\Zgby ih kbgl_am b h[jZ[hld_ pbnjh\uo kb]gZeh\ ih h[f_gm ^Zggufb k IW
BASE+0Eh
GZagZq_gb_ J_]bkljmijZ\e_gby'63 ;mn_jgucj_]bklj^eyql_gby^Zgguo ;mn_jgucj_]bklj^eyaZibkb^ZgguobdhfZg^ J_]bkljkhklhygby[mn_jZaZibkb_keb[blk[jhr_glh jZaj_r_gZaZibkv\[mn_jgucj_]bklj J_]bkljkhklhygby[mn_jZql_gby_keb[blmklZgh\e_glh jZaj_r_ghql_gb_ba[mn_jgh]hj_]bkljZ G_dhlhju_dhfZg^umijZ\e_gby'63
DhfZg^Z 10h 20h 0D1h 0D3h
LZ[ebpZ
HibkZgb_ I_j_^ZqZ[ZclZgZP:I Ql_gb_[ZclZk:PI JZaj_rblv\\h^\u\h^ AZij_lblv\\h^\u\h^
LZ[ebpZ
56 Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
BgbpbZebaZpby'63khklhblbake_^mxsbo^_ckl\bc • ihkeZlvagZq_gb_\ihjl%$6( • \uihegblv\j_f_ggmxaZ^_j`dm • ihkeZlvagZq_gb_\ihjl%$6(
JbkmghdKm[
Ql_gb_ba'63aZdexqZ_lky\lhfqlh[u • \ pbde_ h`b^Zlv ]hlh\ghklb '63 mklZgh\db ]h [blZ \ ihjlm %$6( 0Eh); • ijhqblZlv[ZclbaihjlZ%$6($K
JbkmghdKm[
:gZeh]bqgh\u]ey^blaZibkv\'63 • \ pbde_ h`b^Zlv ]hlh\ghklb '63 k[jhkZ ]h [blZ \ ihjlm %$6( +0Ch); • aZibkZlv[Zcl\ihjl%$6(&K
JbkmghdKm[
JZaj_r_gb_ \\h^Z\u\h^ZaZdexqZ_lky \ ihkued_ \ '63 dhfZg^u 'K Z aZij_s_gb_\\h^Z\u\h^Z\ihkued_dhfZg^u'K
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
57
Ql_gb_ ^Zgguo ba :PI a\mdh\hc dZjlu kdeZ^u\Z_lky ba ke_^mxsbo ^_ckl\bc • ihkeZlv\'63dhfZg^mkdh^hfK • ijhqblZlv[Zcl^Zgguoba'63 < ijhlb\hiheh`ghklv wlhfm ihkuedZ ^Zgguo gZ P:I a\mdh\hc dZjlu aZdexqZ_lky\lhfqlh[u • ihkeZlv\'63dhfZg^mkdh^hfK • ihkeZlv\'63[Zcl^Zgguo
6.2. Kbkl_fguclZcf_jIW
JbkmghdNmgdpbhgZevgZyko_fZkbkl_fgh]hlZcf_jZ
58 Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
DZ`^uc ba dZgZeh\ fh`_l jZ[hlZlv \ h^ghf ba r_klb j_`bfh\ Ih mfheqZgbx^ey\k_odZgZeh\mklZgh\e_gj_`bf<wlhfj_`bf_dZgZeu jZ[hlZxlke_^mxsbfh[jZahfkfjbkmghd • \ kq_lqbd lZcf_jZ aZ]jm`Z_lky g_dhlhjZy dhgklZglZ i_j_kq_lZ \ ^bZiZahg_ ih mfheqZgbx hgZ bf__l fZdkbfZevgh \hafh`gh_ agZq_gb_ • ih njhglm dZ`^h]h ijboh^ys_]h lZdlh\h]h bfimevkZ ba kq_lqbdZ \uqblZ_lkyagZq_gb_ • ijb ^hklb`_gbb kq_lqbdhf agZq_gby gZ \uoh^_ m dZgZeZ lZcf_jZ bg\_jlbjm_lky agZq_gb_ kb]gZeZ ©287ª djhf_ lh]h \ kq_lqbd \gh\v aZ]jm`Z_lkybkoh^gZydhgklZglZbjZ[hlZkq_lqbdZijh^he`Z_lky • ihnjhglmkb]gZeZ©287ªl_ijbdZ`^hf\lhjhfh[gme_gbbkq_lqbdZ ]_g_jbjm_lkyg_dhlhjh_©kh[ulb_ª
JbkmghdJZ[hlZdZgZeh\lZcf_jZ\j_`bf_
©Kh[ulbyª dZgZeZ aZdexqZxlky \ lhf qlh gZ dhgljhee_j ij_ju\Zgbc ih^Zxlky aZijhku k ijbhjbl_lhf ,UT b khhl\_lkl\_ggh \ kbkl_f_ \hagbdZxl ij_ju\Zgby k ghf_jhf Ij_ju\Zgb_ bkihevam_lky hi_jZpbhgghc kbkl_fhc :LQGRZV ^ey hj]ZgbaZpbb \ul_kgyxs_c fgh]haZ^Zqghklb ©Kh[ulbyª dZgZeZ aZdexqZxlky \ ]_g_jZpbb lZdlh\uo bfimevkh\ kbgojhgbabjmxsbokbkl_fgu_ijhp_kkugZfZl_jbgkdhcieZl_IW
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
MijZ\eyxsbcj_]bkljkbkl_fgh]hlZcf_jZ ;blu 0 1..2 4..5
6..7
59
LZ[ebpZ
GZagZq_gb_ Lbikq_lZ^\hbqguc^\hbqgh^_kylbqguc J_`bfjZ[hludZgZeZj_`bf DhfZg^ZaZnbdkbjh\ZlvagZq_gb_kq_lqbdZ\[mn_jghfj_]bklj_ ih^]hlh\blvql_gb_aZ]jmadmklZjr_]h[ZclZkq_lqbdZih^]hlh\blv ql_gb_aZ]jmadm feZ^r_]h [ZclZ kq_lqbdZ ih^]hlh\blv ihke_^h\Zl_evgh_ ql_gb_aZ]jmadm feZ^r_]h b klZjr_]h [Zclh\ kq_lqbdZ Ghf_jdZgZeZgme_\hci_j\uc\lhjhc
H[f_g^ZggufbkdZgZeZfbkq_lqbdZ\uihegy_lkyq_j_aihjluKgme_\hc dZgZe Ki_j\ucdZgZe K\lhjhcdZgZe B^_yj_ZebaZpbbk[hjZ^Zgguo\j_`bf_j_Zevgh]h\j_f_gbaZdexqZ_lky\ lhf qlh[u aZijh]jZffbjh\Zlv dZgZe lZcf_jZ gZ jZ[hlm k lj_[m_fhc qZklhc kdZgbjh\Zlv \ pbde_ agZq_gby kq_lqbdZ b \uihegylv hijhk :PI \ fhf_gl_]hkq_lqbdZ i_j_aZ]jmadb BgbpbZebaZpbykq_lqbdZaZdexqZ_lky\ke_^mxs_fkfjbkmghd • aZibkZlv\ihjlKmijZ\eyxs__keh\hkhagZq_gb_f%K • ihke_^h\Zl_evgh aZibkZlv \ [mn_jguc j_]bklj K feZ^rbc b klZjrbc [ZcludhgklZglui_j_kq_lZkhhl\_lkl\mxs_clj_[m_fhcqZklhl_hijhkZ k c = 478); • aZimklblv kq_l k h^gh\j_f_gguf hldexq_gb_f ^bgZfbdZ aZibkvx\ihjlKagZq_gby
JbkmghdKm[
Ql_gb_ l_dms_]h agZq_gby kq_lqbdZ \lhjh]h dZgZeZ lZcf_jZ fh`gh \uihegblvlZd • ih^]hlh\blv ql_gb_ ihkeZ\ \ ihjl K mijZ\eyxsbc [Zcl kh agZq_gb_fK • ihke_^h\Zl_evgh ijhqblZlv ba [mn_jgh]h ihjlZ K kgZqZeZ feZ^rbcZaZl_fklZjrbc[ZcluagZq_gbykq_lqbdZ
60 Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
JbkmghdKm[
6.3. JZ[hlZk
IjZ\beZjZ[hlukwlbf
JbkmghdEbp_\ZyiZg_ev^_fhgkljZpbhggh]h
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
Jbkmghd;ehdko_fZ^_fhgkljZpbhggh]h
Jbkmghd©Kdjulu_ªdZ^jukljmdlmj©K[hj^Zgguoªb©
61
62 Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
Ebl_jZlmjZ @Zjdh\ NI DZjZlZ_\ << Gbdbnhjh\ <N IZgh\ <K Bkihevah\Zgb_\bjlmZevguoijb[hjh\LabVIEW. - FKhehgJk FmjZ\v_\ K< LhdZj_\ K< Gh\uc klbev \ baf_jbl_evghf ijh]jZffbjh\ZgbbIjb[hjubkbkl_fumijZ\e_gbyK 3. Kh[he_\ <K Ijh]jZffgh_ h[_ki_q_gb_ kh\j_f_gguo kbkl_f k[hjZ b h[jZ[hldb baf_jbl_evghc bgnhjfZpbb Ijb[hju b kbkl_fu mijZ\e_gby K 4. Ijh]jZffbjh\Zgb_\kj_^_Kb^eyIWbZeh]FBNBk 6. Wells Lisa K., Travis Jeffrey. LabVIEW For Everyone: graphical programming made even easier. - Prentice-Hall, 1997. - 586 p. 7. LabVIEW Code Interface Reference Manual. - National Instruments Corp., 1993. 8. LabVIEW User Manual. - National Instruments Corp., 1993. 9. LabVIEW Tutorial. - National Instruments Corp., 1993. 10. LabVIEW for Windows. Demonstration Guide. - National Instruments Corp., 1992.
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
63
Ijbeh`_gb_:Khh[s_gbyh[hrb[dZo : contains unwired or bad WHUPLQDOBfynmgdpbb! kh^_j`bl g_ijbkh_^bg_gguc beb iehohc l_jfbgZe : object code not ORDGHG Ma_e bgl_jn_ckZ k dh^hf! h[t_dlguc dh^ g_ aZ]jm`_g Dhfihgh\dZ &,1maeZ g_ aZ\_jr_gZG_h[oh^bfhaZ]jmablvdh^h\ucj_kmjk : control does not match its type GHILQLWLRQ Kj_^kl\h mijZ\e_gby! kj_^kl\h mijZ\e_gby g_ khhl\_lkl\m_l hij_^_e_gbx _]h lbiZ Hlj_^Zdlbjmcl_ kj_^kl\h mijZ\e_gby qlh[u kh]eZkh\Zlv lbiu eb[h hldexqbl_y\gh_hij_^_e_gb_lbiZ Enumeration has duplicate HQWULHV I_j_qbke_gb_ kh^_j`bl ^\hcgu_ \oh`^_gby : A subroutine priority VI cannot contain an asynchronous node. Ma_e! : Object is KLGGHQH[t_dl!h[t_dlkdjul H[t_dlkdjulbwlh iha`_fh`_lijb\_klbddhgnebdlZf
64 Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
Right Shift Register: type is XQGHILQHGIjZ\uc c^\b]h\ucj_]bklj lbig_hij_^_e_g : bad linkade to VXE9, Bfy km[: recursive references (dispose LW Bfy km[: LV Subroutine link error! Bfy km[: Hrb[dZ k\yau\Zgby ih^ijh]jZffu Kms_kl\m_l ijh[e_fZ dhfihgh\db k ih^ijh]jZffhcgZibkZgghcgZyaud_\ukhdh]hmjh\gy <SubVI name>: A Subroutine priority VI cannot call a nonBfy km[: Ih^ijh]jZffZ k subroutine priority subVI. ijbhjbl_lhf: subVI is already UXQQLQJ Bfy km[: subVI is in either panel order or cluster order mode. Bfy km[
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
65
<SubVI name>: subVI is in interactive retrieval PRGH Bfykm[: subVi is PLVVLQJBfykm[: subVI is not H[HFXWDEOH Bfy km[
66 Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
Ijbeh`_gb_;;b[ebhl_qgu_lbiu^Zgguob nmgdpbb ;b[ebhl_dZ /9/,%/,% b \dexqZ_fuc nZce (;7&2'(+ ij_^gZagZq_gu ^ey ih^^_j`db kha^Zgby &,1maeh\ gZ yaud_ Kb b kh^_j`Zl g_kdhevdh khl_g ki_pbnbq_kdboh[t_dlh\nmgdpbcfZdjhkh\dhgklZglblbih\^Zgguo>Ze__ djZldh hibku\Z_lky g_[hevrh_ ih^fgh`_kl\h wlbo gZb[he__ qZklh bkihevam_fuoh[t_dlh\
Lbiu^Zgguo Lbiu^ZgguoLabVIEW Lbi Bool32 LVBoolean int8 int16 int32 uInt8 uInt16 uInt32 float32 float64 floatExt cmplx64 cmplx128 cmplxExt uChar CStr PStr LStr CPStr Path Uptr MgErr File
>ebgZ\ [ZclZo 4 2 1 2 4 1 2 4 4 8 10 8 16 20 1 4 -
LZ[ebpZ:
HibkZgb_ Eh]bq_kdh_agZq_gb_©BKLBG:ª©EH@Vª Eh]bq_kdh_agZq_gb_©BKLBG:ª≥©EH@Vª P_eh_qbkehkhagZdhf -"-"P_eh_qbkeh[_aagZdZ -"-"<_s_kl\_ggh_qbkehkieZ\Zxs_caZiylhc -"-"Dhfie_dkgh_qbkehk\_s_kl\_ggufbiheyfbUHbim -"-"Kbf\he FZkkb\kbf\heh\dhgqZxsbcky[Zclhf FZkkb\kbf\heh\^ebgZojZgblky\[Zcl_kghf_jhf FZkkb\kbf\heh\^ebgZojZgblky\i_j\uoq_luj_o Kibkhdi_j_f_gguolbiZPStr ImlvbbfynZceZ MdZaZl_evgZ[Zcl P_eh_qbkehkh^_j`Zs__dh^hrb[db >_kdjbilhjhldjulh]hnZceZ
Nmgdpbb^eyjZ[hluk^bgZfbq_kdhciZfylvx UPtr DSNewPtr(int32 size) \ha\jZsZ_l mdZaZl_ev gZ jZkij_^_e_gguc [ehd iZfylb^ebghcsize[Zclh\ UPtr DSNewPClr(int32 size)ZgZeh]bqghDSNewPtrghiZfylvij_^\Zjbl_evgh hqbsZ_lky
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
67
MgErrDSDisposePtr(Uptr p)hk\h[h`^Z_l[ehdiZfylbihZ^j_kmp.
Nmgdpbb^eyjZ[hluknZceZfb MgErrFCreate(File *fdp, Path path, int32 permissions, int32 openMode, int32 denyMode, PStr group) kha^Z_l hlkmlkl\mxsbc nZce k bf_g_f path, Zljb[mlZfb ^hklmiZ permissions _keb [bl k[jhr_g lh ihke_ aZdjulby m nZceZ [m^_l mklZgh\e_g Zljb[ml ©lhevdh ^ey ql_gbyª j_`bfhf ^hklmiZ kh klhjhgu l_dms_]h ijhp_kkZ openMode (openReadOnly aZibkv \ nZce g_\hafh`gZ openWriteOnly ql_gb_ ba nZceZ g_\hafh`gh openReadWrite jZaj_r_gu ql_gb_ b aZibkv , j_`bfhf ^hklmiZ kh klhjhgu ^jm]bo ijhp_kkh\ denyMode (GHQ\5HDG:ULWHql_gb_baZibkvaZij_s_guGHQ\:ULWH2QO\aZibkv aZij_s_gZ GHQ\1HLWKHU iheguc ^hklmi 818;]jmiihc group \ Windows b]ghjbjm_lky b\ha\jZsZ_l^_kdjbilhj\fdp. MgErrFCreateAlways(File *fdp, Path path, int32 permissions, int32 openMode, int32 denyMode, PStr group) ZgZeh]bqgh MgErrFCreate gh _keb nZce m`_ kms_kl\m_llhhghqbsZ_lky MgErrFMOpen(File *fdp, Path path, int32 openMode, int32 denyMode) hldju\Z_lnZcekbf_g_fpathj_`bfhf^hklmiZkhklhjhgul_dms_]hijhp_kkZ openMode, j_`bfhf ^hklmiZ kh klhjhgu ^jm]bo ijhp_kkh\ denyMode b \ha\jZsZ_l^_kdjbilhj\fdp. MgErrFMClose(File *fd)aZdju\Z_lnZcek^_kdjbilhjhffd. MgErrFMRead(File *fd, int32 inCount, int32 *outCountp, uPtr buffer)qblZ_l inCount [Zclh\ ba nZceZ k ^_kdjbilhjhf fd \ [mn_j buffer \ha\jZsZy qbkeh j_ZevghijhqblZgguo[Zclh\\outCountp. MgErrFMWrite(File *fd, int32 inCount, int32 *outCountp, uPtr buffer) aZibku\Z_l inCount [Zclh\ \ nZce k ^_kdjbilhjhf fd ba [mn_jZ buffer, \ha\jZsZyqbkehj_ZevghaZibkZgguo[Zclh\\outCountp. MgErrFMSeek(File fd, int32 ofst, int32 mode) i_j_f_sZ_l mdZaZl_ev ql_gbyaZibkb \ nZce_ k ^_kdjbilhjhf fd gZ ihabpbx ofst \ khhl\_lkl\bb k j_`bfhf mode (I6WDUW hlghkbl_evgh gZqZeZ nZceZ I&XUUHQW hlghkbl_evgh l_dms_cihabpbbI(QGhlghkbl_evghdhgpZnZceZ MgErr FMTell(File fd, int32 *ofstp)\ha\jZsZ_l^eynZceZk^_kdjbilhjhf fd l_dmsmxihabpbxql_gbyaZibkb\ofstp. MgErrFGetEOF(File fd, int32 *sizep) \ha\jZsZ_l \ sizep l_dmsmx ^ebgm nZceZk^_kdjbilhjhf fd. MgErrFSetEOF(File fd, int32 size)mklZgZ\eb\Z_l^eynZceZk^_kdjbilhjhf fd gh\mx^ebgmsize.
68 Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
MgErrFMove(Path oldPath, Path newPath) ijbk\Zb\Z_l nZcem k bf_g_f oldPath gh\h_ bfy newPath \hafh`gh baf_gyy _]h f_klhiheh`_gb_ gZ ghkbl_e_ MgErrFRemove(Path path)m^Zey_lnZcekbf_g_fpath. int32 FExists(Path path)ijh\_jy_lkms_kl\h\Zgb_nZceZkbf_g_fpath.
Nmgdpbb^eyjZ[hlukh\j_f_g_f uInt32 MilliSecs() \ha\jZsZ_ll_dms__dhebq_kl\hfbeebk_dmg^ uInt32 TimeInSecs() \ha\jZsZ_l dhebq_kl\h k_dmg^ ijhr_^r__ k qZkh\ fbgmlk_dmg^] CStr DateString(uInt32 secs, int32 fmt) \ha\jZsZ_l mdZaZl_ev gZ l_dklh\mx kljhdmhibku\Zxsmx^Zlmhij_^_ey_fmxqbkehfk_dmg^secsijhr_^rbok qZkh\ fbgml k_dmg^ ] \ khhl\_lkl\bb k nhjfZlhf fmt: 0 «mm/dd/yy», 1 - kh\dexq_gb_fiheguogZbf_gh\Zgbc^gyg_^_ebbf_kypZ kh\dexq_gb_fkhdjZs_gguogZbf_gh\Zgbc CStr TimeString(uInt32 secs, int32 fmt) \ha\jZsZ_l mdZaZl_ev gZ l_dklh\mx kljhdm hibku\Zxsmx \j_fy kmlhd hij_^_ey_fh_ qbkehf k_dmg^ secs, ijhr_^rbokqZkh\fbgmlk_dmg^]\khhl\_lkl\bbknhjfZlhf fmt: 0 - «hh:mm», 1- «hh:mm:ss». CStr ASCIITime(uInt32 secs) \ha\jZsZ_l mdZaZl_ev gZ l_dklh\mx kljhdm hibku\Zxsmx ^Zlm b \j_fy kmlhd hij_^_ey_fu_ qbkehf k_dmg^ secs, ijhr_^rbokqZkh\fbgmlk_dmg^]
NmgdpbbbfZdjhku^eyjZ[hlukkbf\heZfb boolean IsDigit(uChar c) \ha\jZsZ_l j_amevlZl ijh\_jdb kbf\heZ c gZ ijbgZ^e_`ghklvfgh`_kl\mpbnj boolean IsAlpha(uChar c) \ha\jZsZ_l j_amevlZl ijh\_jdb kbf\heZ c gZ ijbgZ^e_`ghklvfgh`_kl\m[md\eZlbgkdh]hZenZ\blZ boolean IsUpper(uChar c) - \ha\jZsZ_l j_amevlZl ijh\_jdb kbf\heZ c gZ ijbgZ^e_`ghklvfgh`_kl\mijhibkguo[md\eZlbgkdh]hZenZ\blZ boolean IsLower(uChar c) \ha\jZsZ_l j_amevlZl ijh\_jdb kbf\heZ c gZ ijbgZ^e_`ghklvfgh`_kl\mkljhqguo[md\eZlbgkdh]hZenZ\blZ uChar ToUpper(uChar c) - \ha\jZsZ_l j_amevlZl ij_h[jZah\Zgby kljhqghc [md\ueZlbgkdh]hZenZ\blZ\ijhibkgmx uChar ToLower(uChar c) - \ha\jZsZ_l j_amevlZl ij_h[jZah\Zgby ijhibkghc [md\ueZlbgkdh]hZenZ\blZ\kljhqgmx
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
69
int32 HexChar(int32 n) \ha\jZsZ_l dh^ kbf\heZ jbqghc pbnju khhl\_lkl\mxs_cqbkemn.
Nmgdpbb^eyjZ[hlukhkljhdZfb int32 StrLen(CStr s) - \ha\jZsZ_l^ebgmkljhdbs\[ZclZo int32 StrCat(CStr s1, CStr s2) - ^h[Z\ey_l kljhdm s2 \ dhg_p kljhdb s1, \ha\jZsZygh\mx^ebgmkljhdbs1. int32 StrNCmp(CStr s1, CStr s2, int32 n) - \ha\jZsZ_l j_amevlZl e_dkbdh]jZnbq_kdh]h kjZ\g_gby n i_j\uo kbf\heh\ kljhd s1 b s2 gZijbf_j _kebih^kljhdbkh\iZ^Zxllhnmgdpby\ha\jZsZ_l int32 StrNCaseCmp(CStr s1, CStr s2, uInt32 n) - jZ[hlZ_l ZgZeh]bqgh StrNCmp gh jZaebqb_ kljhqguo b ijhibkguo [md\ eZlbgkdh]h ZenZ\blZ b]ghjbjm_lky Ijbf_qZgb_ >ey nmgdpbc StrLen, StrCat, StrNCmp b StrNCase \ [b[ebhl_d_ bf_xlky nmgdpbhgZevgu_ ZgZeh]b jZ[hlZxsb_ k ^jm]bfb lbiZfb kljhd GZijbf_j nmgdpby PStrLen fZgbimebjm_lkljhdZfblbiZPStr, LStrLenkljhdZfblbiZLStrZCPStrLenkljhdZfblbiZ CPStr.
PtoCStr(PStr pstr, CStr cstr) ij_h[jZam_lkljhdmlbiZPStr\kljhdmlbiZ CStr. CToPStr(CStr cstr, PStr pstr) ij_h[jZam_l kljhdm lbiZ CStr \ kljhdm lbiZ PStr. PToLStr(PStr pstr, LStrPtr lstrp)ij_h[jZam_lkljhdmlbiZPStr\kljhdmlbiZ LStr. LToPStr(LStrPtr lstrp, PStr pstr) ij_h[jZam_lkljhdmlbiZLStr\kljhdmlbiZ PStr.
FZl_fZlbq_kdb_nmgdpbbbfZdjhku int32 Max(int32 n, int32 m)\ha\jZsZ_l[hevr__baqbk_enbm. int32
Min(int32 n, int32 m)\ha\jZsZ_lf_gvr__baqbk_enbm.
int32 Pin(int32 i, int32 low, int32 high)\ha\jZsZ_lagZq_gb_ low_kebihigh,bagZq_gb_ i \ijhlb\ghfkemqZ_ void RandomGen(float64 *xp) \ha\jZsZ_l\xpagZq_gb_ik_\^hkemqZcghc \_ebqbgujZ\ghf_jghjZkij_^_e_gghcgZbgl_j\Ze_>@ Ijbf_qZgb_ Djhf_ lh]h jZaj_r_gh bkihevah\Zgb_ ke_^mxsbo klZg^Zjlguo ^ey yaudZ Kb fZl_fZlbq_kdbonmgdpbcatan(), cos(), exp(), fabs(), log(), sin(), sqrt(), tan(), acos(), asin(), atan2(), ceil(), cosh(), floor(), fmod(), frexp(), ldexp(), log10(), modf(), pow(), sinh(), tanh().
70 Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
NmgdpbbbfZdjhku^eyjZ[hluki_j_f_ggufbbiZfylvx int16 HiWord(int32 x) \ha\jZsZ_lklZjr__keh\h[blh\hci_j_f_gghcx. int16 LoWord(int32 x)\ha\jZsZ_lfeZ^r__keh\h[blh\hci_j_f_gghcx. int8 HiByte(int16 x)\ha\jZsZ_lklZjrbc[Zcl[blh\hci_j_f_gghcx. int8 LoByte(int16 x)\ha\jZsZ_lfeZ^rbc[Zcl[blh\hci_j_f_gghcx. uInt8 HiNibble(uInt8 x)\ha\jZsZ_lklZjrb_[blZ[blh\hci_j_f_gghcx. uInt8 LoNibble(uInt8 x)\ha\jZsZ_lfeZ^rb_[blZ[blh\hci_j_f_gghcx. int16 Word(int8 hi, int8 lo) - dhfihgm_l[blh\h_keh\hba[Zclh\hiblo. Int32 Long(int16 hi, int16 lo) - dhfihgm_l [blh\h_ ^\hcgh_ keh\h ba [blh\uokeh\hiblo. int32 Cat4Chrs(uInt8 a, uInt8 b, uInt8 c, uInt8 d) - dhfihgm_l [blh\h ^\hcgh_keh\hba[Zclh\a, b, cbd. int16 Offset(type, field) - \ha\jZsZ_l [Zclh\h_ kf_s_gb_ ihey field \ keh`ghc kljmdlmj_type.
NmgdpbbbfZdjhkuh[s_]hgZagZq_gby int32 BinSearch(arrayp, n, elmtSize, key, compareProcP()) - \uihegy_l ^\hbqguc ihbkd ih dexqm key \ fZkkb\_ arrayp dZ`^uc ba n we_f_glh\ dhlhjh]hbf__ljZaf_j\elmtSize[Zclh\ijbq_fijZ\behkjZ\g_gbywe_f_glZk dexqhf aZ^Z_lky ijb ihfhsb hij_^_ey_fhc ihevah\Zl_e_f nmgdpbb compareProcP. void QSort(arrayp, n, elmtSize, compareProcP()) - \uihegy_l [ukljmx khjlbjh\dm>_cdklju fZkkb\ZarraypdZ`^ucbanwe_f_glh\dhlhjh]hbf__l jZaf_j \ elmtSize [Zclh\ ijbq_f ijZ\beh kjZ\g_gby we_f_glh\ aZ^Z_lky ijb ihfhsbhij_^_ey_fhcihevah\Zl_e_fnmgdpbbcompareProcP. DbgPrintf(uChar *formats, ...)hldju\Z_l^hihegbl_evgh_hdghbhlh[jZ`Z_l\ g_f hleZ^hqgu_ khh[s_gby ihevah\Zl_ey hj]Zgbah\Zggu_ ih ijZ\beZf klZg^Zjlghc^eyyaudZKbnmgdpbbprintf.
Debf_glv_\D?Hkgh\u]jZnbq_kdh]hijh]jZffbjh\Zgby\kj_^_/DE9,(:
H]eZ\e_gb_ <\_^_gb_ I_j\h_agZdhfkl\hk/DE9,(: QlhlZdh_/DE9,(: bZ]jZffub]jZnbdb Qbkeh\u_kj_^kl\ZmijZ\e_gbybbg^bdZlhju Eh]bq_kdb_kj_^kl\ZmijZ\e_gbybbg^bdZlhju Kj_^kl\ZmijZ\e_gbybbg^bdZlhjuijhqbolbih\ FZkkb\u DeZkl_ju Kljhdb F_gxb^bZeh]b H[t_dlu[ehdko_fu MijZ\eyxsb_kljmdlmju KljmdlmjZ&$6(
71