/Users/andrea/_magisterarbeit/korpus/clean/trainkorpus/32/file17.html NN ----------------------------------------- : By IN using VVG this DT code NN , , you PP agree VVP to TO the DT following VVG terms NNS . SENT . SENT . SENT 1 LS You PP may MD use VV this DT code NN in IN your PP$ own JJ programs NNS and CC may MD compile VV it PP into IN a DT program NN and CC distribute VV it PP in IN compiled VVN format NN for IN languages NNS that WDT allow VVP it PP freely RB and CC with IN no DT charge NN . SENT 2 LS You PP MAY MD NOT RB redistribute VV this DT code NN for IN example NN to TO a DT web NN site NN without IN written JJ permission NN from IN the DT original JJ author NN . SENT Failure NN to TO do VV so RB is VBZ a DT violation NN of IN copyright NN laws NNS . SENT 3 LS You PP may MD link VV to TO this DT code NN from IN another DT website NN , , but CC ONLY RB if IN it PP is VBZ not RB wrapped VVN in IN a DT frame NN . SENT 4 LS You PP will MD abide VV by IN any DT additional JJ copyright NN restrictions NNS which WDT the DT author NN may MD have VH placed VVN in IN the DT code NN or CC code's NN description NN . SENT Name NN . SENT array NN merge VV assoc NN Description NN . SENT Works NNS on IN a DT like JJ idea NN as IN a DT rray NN merge VV , , but CC instead RB of IN concatenati NP ng NP arrays VVZ , , it PP takes VVZ two CD related JJ indexed VVN arrays NNS and CC creates VVZ one CD associative JJ array NN . SENT If IN keyarray NN is VBZ NOT RB greater JJR or CC equal VVP to TO valuearray VV the DT function NN will MD error NN unless IN the DT optional JJ force NN TRUE JJ By IN . SENT Markus NP Diersbock NP Inputs NNS . SENT keyarray NN , , valuearray NN , , force VV optional JJ Returns NNS . SENT assoc NN array NN or CC error NN string NN This DT code NN is VBZ copyrighted VVN and CC has VHZ limited VVN warranties NNS . SENT Please UH see VV http NN . SENT www JJ . SENT Planet NP Source NP Code NP . SENT com NN vb NN scripts NNS Sh NN owCode NN . SENT asp NN . SENT txtCodeId NN 1200 CD lngWId NN 8 CD for IN details NNS . SENT Name NN . SENT array NN merge VV assoc NN Author NN . SENT Markus NP Diersbock NP Details NNS . SENT Takes VVZ two CD related JJ indexed VVN arrays NNS and CC combines VVZ them PP into IN one CD associative JJ array NN . SENT Notes NNS . SENT If IN keyarray NN is VBZ NOT RB greater JJR or CC equal VVP to TO valuearray VV the DT function NN will MD error NN unless IN the DT optional JJ force NN TRUE JJ Revisions NNS . SENT 2003 CD 12 CD 13 CD Created VVD 2004 CD 01 CD 14 CD Added VVN code NN for IN unequal JJ arrays NNS function VVP array NN merge VV assoc NN keyarray NN , , valuearray NP , , force NN FALSE JJ i NP 0 CD . SENT if IN count NN keyarray NN count NN valuearray NN force NN TRUE JJ foreach NN keyarray NN as IN element NN aryreturn NN element NN valuearray NN i NP . SENT else RB return NN Arrays NNS are VBP not RB of IN equal JJ size NN . SENT return NN aryreturn NN . SENT