#116048 - 2004-03-12 01:35 PM
What does EXIT 87 do?
|
GSUK
Starting to like KiXtart
Registered: 2004-03-10
Posts: 125
|
Hi there,
I've just imported the ARRAYENUMKEY UDF and I was wondering what EXIT 87 does? (and EXIT 0) Is 87 a specific exit code? Where would I find a list of these codes? I've only been using Kix for about a week so please forgive me if the answer is blatantly obvious! 
******CODE********
function arrayenumkey($regsubkey) dim $retcode, $subkeycounter, $currentsubkey, $subkeyarray
if not keyexist($regsubkey) exit 87 endif
$subkeycounter=0 do $currentsubkey=enumkey($regsubkey,$subkeycounter) if not @ERROR redim preserve $subkeyarray[$subkeycounter] $subkeyarray[$subkeycounter]=$currentsubkey $subkeycounter=$subkeycounter+1 endif until @ERROR
$arrayenumkey=$subkeyarray exit 0 endfunction
****END CODE*******
Thanks in advance!
Glenn
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 764 anonymous users online.
|
|
|