#119621 - 2004-05-14 10:57 PM
Re: variable type problem
|
Bryce
KiX Supporter
   
Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
|
Burnsc,
i just so happened to be posting a reply to another thread about GetINI() when i saw your post, both in the UDF and here.
it seems that you have a different version of code than what is posted in the UDF VS what you are posting here, especially in regards to the exit() return codes. i am seeing "$getini= 2 exit" in your code, and this could be the source of your problems.
GetINI is a recursive UDF, meaning that it calls it self for each section if no section is given in the first call.
I would suggest that you not return error codes in your data return, but set @error to equal what you want the error code to be by using the exit(#) command.
Bryce
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
1 registered
(Henriques)
and 2516 anonymous users online.
|
|
|