#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
|
|
|
|
#116050 - 2004-03-12 02:07 PM
Re: What does EXIT 87 do?
|
GSUK
Starting to like KiXtart
Registered: 2004-03-10
Posts: 125
|
(how are we supposed to help you debug your code if you don't even post the code but just the UDF itself?)
I haven't got that far yet mate! I was jumt importing the UDF and wondered what EXIT 87 does. If I do have problems debugging I will let you know.
|
|
Top
|
|
|
|
#116053 - 2004-03-12 10:50 PM
Re: What does EXIT 87 do?
|
Allen
KiX Supporter
   
Registered: 2003-04-19
Posts: 4567
Loc: USA
|
Jens... just trying to use the link you provided... it has a period on the end that keeps it from working... thanks for the link though.
|
|
Top
|
|
|
|
#116056 - 2004-03-13 03:13 AM
Re: What does EXIT 87 do?
|
NTDOC
Administrator
   
Registered: 2000-07-28
Posts: 11631
Loc: CA
|
Huh!! 
Dude think you need a new keyboard or spell checker there.
|
|
Top
|
|
|
|
#116058 - 2004-03-13 03:33 AM
Re: What does EXIT 87 do?
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
What? You have not heard of IESpellcheck?
http://www.iespell.com/
Kent
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 764 anonymous users online.
|
|
|